Matrix Docker Ansible eploy
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 

26 Zeilen
768 B

  1. ---
  2. - name: Set the new authorized key taken from file
  3. authorized_key:
  4. user: root
  5. state: present
  6. exclusive: true
  7. key: "{{ lookup('file', '/var/lib/awx/projects/hosting/client_public.key') }}"
  8. - name: Delete the AWX session token for executing modules
  9. awx.awx.tower_token:
  10. description: 'AWX Session Token'
  11. scope: "write"
  12. state: absent
  13. existing_token_id: "{{ awx_session_token.ansible_facts.tower_token.id }}"
  14. tower_host: "https://{{ awx_host }}"
  15. tower_oauthtoken: "{{ awx_session_token.ansible_facts.tower_token.token }}"
  16. - name: Set boolean value to exit playbook
  17. set_fact:
  18. end_playbook: true
  19. - name: End playbook if this task list is called.
  20. meta: end_play
  21. when: end_playbook is defined and end_playbook|bool