Add tags.
This commit is contained in:
parent
235b22b179
commit
a52f337599
@ -41,51 +41,73 @@
|
||||
|
||||
- name: Gather facts
|
||||
ansible.builtin.setup:
|
||||
tags: common
|
||||
tags:
|
||||
- common
|
||||
- always
|
||||
|
||||
- name: Include retrieve_secret_vars tasks
|
||||
ansible.builtin.include_tasks:
|
||||
file: "tasks/retrieve_secret_vars.yml"
|
||||
apply:
|
||||
tags: common
|
||||
tags: common
|
||||
tags:
|
||||
- common
|
||||
- always
|
||||
tags:
|
||||
- common
|
||||
- always
|
||||
|
||||
- name: Include secrets from yml db
|
||||
ansible.builtin.include_vars: "{{ local_workdir }}/secrets.yml"
|
||||
tags: common
|
||||
tags:
|
||||
- common
|
||||
- always
|
||||
|
||||
- name: Register variable DUPLICITY_PASSPHRASE
|
||||
command: "cat {{ remote_workdir }}/duplicity_passphrase"
|
||||
register: cat_duplicity_passphrase
|
||||
changed_when: false
|
||||
tags: common
|
||||
tags:
|
||||
- common
|
||||
- always
|
||||
|
||||
- name: Set variable DUPLICITY_PASSPHRASE
|
||||
set_fact:
|
||||
"DUPLICITY_PASSPHRASE": "{{ cat_duplicity_passphrase.stdout }}"
|
||||
changed_when: false
|
||||
tags: common
|
||||
tags:
|
||||
- common
|
||||
- always
|
||||
|
||||
- name: Include role_configure_ovh_instance
|
||||
ansible.builtin.include_role:
|
||||
name: role_configure_ovh_instance
|
||||
tags: configure
|
||||
apply:
|
||||
tags: common
|
||||
tags: common
|
||||
|
||||
- name: switch to new user
|
||||
set_fact:
|
||||
ansible_user: "{{ LINUX_USERNAME }}"
|
||||
tags: common
|
||||
tags:
|
||||
- common
|
||||
- always
|
||||
|
||||
- name: Include deploy_reverse-proxy tasks
|
||||
ansible.builtin.include_tasks: "tasks/deploy_reverse-proxy.yml"
|
||||
tags: deploy_reverse-proxy
|
||||
|
||||
- name: Include deploy_mysql-server tasks
|
||||
ansible.builtin.include_tasks: "tasks/deploy_mysql-server.yml"
|
||||
ansible.builtin.include_tasks:
|
||||
file: "tasks/deploy_mysql-server.yml"
|
||||
apply:
|
||||
tags: deploy_mysql-server
|
||||
tags: deploy_mysql-server
|
||||
|
||||
- name: Include deploy_gogs tasks
|
||||
ansible.builtin.include_tasks: "tasks/deploy_gogs.yml"
|
||||
ansible.builtin.include_tasks:
|
||||
file: "tasks/deploy_gogs.yml"
|
||||
apply:
|
||||
tags: deploy_gogs
|
||||
tags: deploy_gogs
|
||||
|
||||
- name: Include role_deploy_registry
|
||||
|
Loading…
Reference in New Issue
Block a user