Add tags.
This commit is contained in:
parent
a52f337599
commit
64526156ef
@ -5,14 +5,27 @@
|
||||
- vars/main.yml
|
||||
tasks:
|
||||
- name: Retrieve secrets
|
||||
ansible.builtin.include_tasks: "tasks/retrieve_secret_vars.yml"
|
||||
ansible.builtin.include_tasks:
|
||||
file: "tasks/retrieve_secret_vars.yml"
|
||||
apply:
|
||||
tags:
|
||||
- always
|
||||
tags:
|
||||
- always
|
||||
|
||||
- name: Include OVH application credentials
|
||||
ansible.builtin.include_vars: "{{ remote_workdir }}/OVH_APPLICATION.yml"
|
||||
tags:
|
||||
- always
|
||||
|
||||
- name: include role_deploy_openstack_instance
|
||||
ansible.builtin.include_role:
|
||||
name: role_deploy_openstack_instance
|
||||
apply:
|
||||
tags:
|
||||
- always
|
||||
tags:
|
||||
- always
|
||||
|
||||
- name: add new instance to host group at runtime
|
||||
ansible.builtin.add_host:
|
||||
@ -20,6 +33,8 @@
|
||||
ansible_host: "{{ openstack_output.openstack.accessIPv4 }}"
|
||||
groups: target
|
||||
changed_when: false
|
||||
tags:
|
||||
- always
|
||||
|
||||
- name: Remove old SSH host key
|
||||
command: ssh-keygen -f "/home/{{ LINUX_USERNAME }}/.ssh/known_hosts" -R "{{ item }}"
|
||||
|
Loading…
Reference in New Issue
Block a user