Commit 656f43cb authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz
Browse files

Use host vars as config

parent 45df9d36
......@@ -18,7 +18,7 @@ $ ansible-galaxy install geerlingguy.jenkins geerlingguy.certbot
Setup
-----
Create `inventory.txt` and `configs/jenkins.yml`. **Don't commit those files**!
Create `inventory.yml`. **Don't commit this file**, int contains site-specific config!
Running
-------
......
......@@ -2,9 +2,6 @@
- hosts: jenkins
user: root
pre_tasks:
- name: Load config
include_vars: configs/jenkins.yml
roles:
- role: geerlingguy.jenkins
jenkins_package_state: latest # allow upgrades
......
[jenkins]
example.com ansible_port=1234 ansible_ssh_private_key_file=/path/to/private/ssh/key
jenkins:
hosts:
arm01.puri.sm:
ansible_port: 1234 # ssh port
ansible_ssh_private_key_file: /path/to/private/ssh/key
ansible_user: root # ssh user
jenkins_admin_password: # ENTER SOMETHING
domain_email: # email to the entity managing the domain/server. Sent to Let's Encrypt to request certs
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment