LoginSignup
2
1

More than 3 years have passed since last update.

AnsibleでCentOS7へJenkinsをインストールする

Last updated at Posted at 2019-12-07

こちらはJenkins Advent Calendar 7日目の記事になります。

今回はJenkinsをCentOS7へAnsibleを使ってインストールするサンプル例について説明します。

利用するAnsible Playbook

インストール手順

git clone https://github.com/ansible-playbooks-centos7/jenkins_install.git
cd jenkins_install
ansible-galaxy install -r roles/requirements.yml
ansible-playbook -i localhost, -c local install.yml

Ansible変数ファイルの設定例

それぞれのAnsible Roleのページから確認します

Boostrap

Docker

Epel

Git

Locale

Java

Jenkins

Pip

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1