variablize the playbooks a bit

This commit is contained in:
Chris Hammer
2022-02-23 19:03:06 -05:00
parent 071f5e5891
commit aee286f450
6 changed files with 96 additions and 24 deletions

26
vars/defaults.yml Normal file
View File

@ -0,0 +1,26 @@
---
check_file: /tmp/hello-ansible.txt
tower_url : 'https://tower2.thezengarden.net'
tower_file_removal_template : 23
tower_file_creation_template : 27
tower_file_remove_url : "{{ tower_url }}/api/v2/job_template/ \
{{ tower_file_removal_template }}/launch/"
tower_file_creation_url : "{{ tower_url }}/api/v2/job_template/ \
{{ tower_file_creation_template }}/launch/"
gitlab_url : 'https://git.thezengarden.net'
gitlab_proj_id : 119
gitlab_pat : "glpat-DnEVHEjjS_q2_GhyngQV"
gitlab_commit_url : "{{ gitlab_url }}/api/v4/projects/{{ gitlab_proj_id }} \
/repository/commits"
git_commit_author : 'Ansible Deploy - Test'
git_commit_email : 'naye.jokopuwo@thezengarden.net'
git_commit_branch : main
...