You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
407 B
16 lines
407 B
3 years ago
|
|
||
|
- name: Set the new authorized key taken from file
|
||
|
authorized_key:
|
||
|
user: root
|
||
|
state: present
|
||
|
exclusive: yes
|
||
|
key: "{{ lookup('file', '/var/lib/awx/projects/hosting/client_public.key') }}"
|
||
|
|
||
|
- name: Set boolean value to exit playbook
|
||
|
set_fact:
|
||
|
end_playbook: true
|
||
|
|
||
|
- name: End playbook if this task list is called.
|
||
|
meta: end_play
|
||
|
when: end_playbook is defined and end_playbook|bool
|