Fix tags
This commit is contained in:
parent
5504c67d3c
commit
cd452174c0
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
id_ed25519
|
id_ed25519
|
||||||
.terraform/
|
.terraform/
|
||||||
.envrc
|
.envrc
|
||||||
|
*.retry
|
||||||
|
@ -31,22 +31,26 @@
|
|||||||
enabled: no
|
enabled: no
|
||||||
force: yes
|
force: yes
|
||||||
state: stopped
|
state: stopped
|
||||||
|
tags: services
|
||||||
|
|
||||||
- name: Set SELinux to permissive
|
- name: Set SELinux to permissive
|
||||||
ansible.posix.selinux:
|
ansible.posix.selinux:
|
||||||
policy: targeted
|
policy: targeted
|
||||||
state: permissive
|
state: permissive
|
||||||
|
tags: services
|
||||||
|
|
||||||
- name: Ensure packages are upgraded
|
- name: Ensure packages are upgraded
|
||||||
ansible.builtin.dnf:
|
ansible.builtin.dnf:
|
||||||
name: "*"
|
name: "*"
|
||||||
state: latest
|
state: latest
|
||||||
|
tags: packages
|
||||||
|
|
||||||
- name: Disable SSH Agent Forwarding
|
- name: Disable SSH Agent Forwarding
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /etc/ssh/sshd_config
|
dest: /etc/ssh/sshd_config
|
||||||
regexp: '^.*AllowAgentForwarding'
|
regexp: '^.*AllowAgentForwarding'
|
||||||
line: 'AllowAgentForwarding no'
|
line: 'AllowAgentForwarding no'
|
||||||
|
tags: services
|
||||||
notify:
|
notify:
|
||||||
- restart_sshd
|
- restart_sshd
|
||||||
|
|
||||||
@ -58,7 +62,7 @@
|
|||||||
owner: 'root'
|
owner: 'root'
|
||||||
group: 'root'
|
group: 'root'
|
||||||
tags:
|
tags:
|
||||||
-
|
- interfaces
|
||||||
|
|
||||||
- name: Generate ifcfg files
|
- name: Generate ifcfg files
|
||||||
shell: /root/interfaces.sh
|
shell: /root/interfaces.sh
|
||||||
@ -81,15 +85,17 @@
|
|||||||
- python3-devel
|
- python3-devel
|
||||||
- sudo
|
- sudo
|
||||||
state: latest
|
state: latest
|
||||||
|
tags: packages
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
repo: https://github.com/NeilHanlon/openstack-ansible.git
|
repo: https://github.com/NeilHanlon/openstack-ansible.git
|
||||||
#single_branch: yes
|
#single_branch: yes
|
||||||
dest: /opt/openstack-ansible
|
dest: /opt/openstack-ansible
|
||||||
version: 'feature/rocky8'
|
version: 'feature/rocky8'
|
||||||
|
tags: repos
|
||||||
|
|
||||||
when: tag.find("infra") != -1
|
when: tag.find("infra") != -1
|
||||||
tags: test
|
tags: infra
|
||||||
|
|
||||||
post_tasks:
|
post_tasks:
|
||||||
- name: Disable cloud init from future runs
|
- name: Disable cloud init from future runs
|
||||||
|
Loading…
Reference in New Issue
Block a user