Andrew Block
2018-08-31 69aa842aa6c4f591cd8984eb6f814e0e7604ab25
Adding in configurations to allow tower execution
2 files modified
3 ■■■■ changed files
ansible/configs/ansible-cicd-lab/post_software.yml 2 ●●● patch | view | raw | blame | history
ansible/configs/ansible-cicd-lab/tower_setup.yml 1 ●●●● patch | view | raw | blame | history
ansible/configs/ansible-cicd-lab/post_software.yml
@@ -28,7 +28,7 @@
    - { role: "{{ ANSIBLE_REPO_PATH }}/roles/host-jenkins-server" }
    - { role: "{{ ANSIBLE_REPO_PATH }}/roles/molecule" }
- hosts: bastion
- hosts: bastions
  become: false
  vars_files:
    - "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/env_vars.yml"
ansible/configs/ansible-cicd-lab/tower_setup.yml
@@ -162,7 +162,6 @@
    src: "/root/.ssh/{{ guid }}key.pem"
  register: credential_ssh_key
  no_log: True
  delegate_to: "{{ bastion_host }}"
  when: response.json.count == 0
- name: Create Credential