test Vault with semaphore
This commit is contained in:
31
all.yml
31
all.yml
@@ -9,20 +9,20 @@
|
||||
|
||||
pre_tasks:
|
||||
|
||||
- name: >-
|
||||
Show target servers -> Hostname : OS - IP
|
||||
debug:
|
||||
msg: "{{ ansible_hostname }} : {{ ansible_distribution }} {{ ansible_distribution_version }} - {{ ansible_default_ipv4.address }}"
|
||||
tags:
|
||||
- always
|
||||
- name: >-
|
||||
Show target servers -> Hostname : OS - IP
|
||||
debug:
|
||||
msg: "{{ ansible_hostname }} : {{ ansible_distribution }} {{ ansible_distribution_version }} - {{ ansible_default_ipv4.address }}"
|
||||
tags:
|
||||
- always
|
||||
|
||||
- name: Ensure specified repository packages are into sources list
|
||||
ansible.builtin.apt_repository:
|
||||
repo: "{{ item }}"
|
||||
state: present
|
||||
loop: "{{ apt_repositories_sources }}"
|
||||
tags:
|
||||
- repo
|
||||
- name: Ensure specified repository packages are into sources list
|
||||
ansible.builtin.apt_repository:
|
||||
repo: "{{ item }}"
|
||||
state: present
|
||||
loop: "{{ apt_repositories_sources }}"
|
||||
tags:
|
||||
- repo
|
||||
|
||||
roles:
|
||||
- { role: grog.management-user, tags: user }
|
||||
@@ -68,3 +68,8 @@
|
||||
tags:
|
||||
- alerts
|
||||
|
||||
- name: Test semaphore vault pass
|
||||
debug:
|
||||
msg: "{{ test_vault }}"
|
||||
tags:
|
||||
- always
|
||||
@@ -128,3 +128,13 @@ chisel_remove_all:
|
||||
- "{{ chisel_download_destination }}"
|
||||
- "{{ chisel_install_destination }}"
|
||||
- /var/log/chisel
|
||||
|
||||
|
||||
|
||||
test_vault: !vault |
|
||||
$ANSIBLE_VAULT;1.2;AES256;prod
|
||||
36663965646236326237623936646161653232306263353564666238626564633530363761633164
|
||||
6166363235383964626463353061343635626431396664660a333231303661343362353162353938
|
||||
32373332373362656635393365363635313137306532366536323765346464336634653366383961
|
||||
3965626433316138320a366336393034383065363134623239646230396432356431383935346463
|
||||
6330
|
||||
Reference in New Issue
Block a user