forked from infra/ansible
Fix yamllint comment spacing errors
Add required space after '#' in all comments to comply with yamllint formatting requirements.
This commit is contained in:
parent
21039755d3
commit
0f07117b2d
6 changed files with 49 additions and 49 deletions
|
|
@ -57,19 +57,19 @@
|
|||
|
||||
# - name: Deploy
|
||||
# hosts: ipatuura_stg
|
||||
# user: root
|
||||
# gather_facts: true
|
||||
#
|
||||
# vars_files:
|
||||
# - /srv/web/infra/ansible/vars/global.yml
|
||||
# - "/srv/private/ansible/vars.yml"
|
||||
# - "{{ vars_path }}/{{ ansible_distribution }}.yml"
|
||||
#
|
||||
# roles:
|
||||
# - ipatuura
|
||||
#
|
||||
# handlers:
|
||||
# - import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||
# user: root
|
||||
# gather_facts: true
|
||||
#
|
||||
# vars_files:
|
||||
# - /srv/web/infra/ansible/vars/global.yml
|
||||
# - "/srv/private/ansible/vars.yml"
|
||||
# - "{{ vars_path }}/{{ ansible_distribution }}.yml"
|
||||
#
|
||||
# roles:
|
||||
# - ipatuura
|
||||
#
|
||||
# handlers:
|
||||
# - import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||
|
||||
|
||||
# This next block configures IPA, it only needs to be run on one member of the cluster.
|
||||
|
|
|
|||
|
|
@ -159,8 +159,8 @@
|
|||
ocp4: "{{ (env == 'production') | bool }}"
|
||||
ocp4_rdu3: "{{ (env == 'staging') | bool }}"
|
||||
# When prod has moved to rdu3:
|
||||
#ocp4: false
|
||||
#ocp4_rdu3: true
|
||||
# ocp4: false
|
||||
# ocp4_rdu3: true
|
||||
tags:
|
||||
- fmn
|
||||
|
||||
|
|
@ -179,8 +179,8 @@
|
|||
ocp4: "{{ (env == 'production') | bool }}"
|
||||
ocp4_rdu3: "{{ (env == 'staging') | bool }}"
|
||||
# When prod has moved to rdu3:
|
||||
#ocp4: false
|
||||
#ocp4_rdu3: true
|
||||
# ocp4: false
|
||||
# ocp4_rdu3: true
|
||||
tags:
|
||||
- noggin
|
||||
|
||||
|
|
@ -194,8 +194,8 @@
|
|||
ocp4: "{{ (env == 'production') | bool }}"
|
||||
ocp4_rdu3: "{{ (env == 'staging') | bool }}"
|
||||
# When prod has moved to rdu3:
|
||||
#ocp4: false
|
||||
#ocp4_rdu3: true
|
||||
# ocp4: false
|
||||
# ocp4_rdu3: true
|
||||
tags:
|
||||
- fasjson
|
||||
|
||||
|
|
@ -254,8 +254,8 @@
|
|||
ocp4: "{{ (env == 'production') | bool }}"
|
||||
ocp4_rdu3: "{{ (env == 'staging') | bool }}"
|
||||
# When prod has moved to rdu3:
|
||||
#ocp4: false
|
||||
#ocp4_rdu3: true
|
||||
# ocp4: false
|
||||
# ocp4_rdu3: true
|
||||
tags:
|
||||
- datagrepper
|
||||
|
||||
|
|
@ -269,8 +269,8 @@
|
|||
ocp4: "{{ (env == 'production') | bool }}"
|
||||
ocp4_rdu3: "{{ (env == 'staging') | bool }}"
|
||||
# When prod has moved to rdu3:
|
||||
#ocp4: false
|
||||
#ocp4_rdu3: true
|
||||
# ocp4: false
|
||||
# ocp4_rdu3: true
|
||||
tags:
|
||||
- badges
|
||||
|
||||
|
|
@ -284,8 +284,8 @@
|
|||
ocp4: "{{ (env == 'production') | bool }}"
|
||||
ocp4_rdu3: "{{ (env == 'staging') | bool }}"
|
||||
# When prod has moved to rdu3:
|
||||
#ocp4: false
|
||||
#ocp4_rdu3: true
|
||||
# ocp4: false
|
||||
# ocp4_rdu3: true
|
||||
header_scheme: true
|
||||
tags: kerneltest
|
||||
|
||||
|
|
@ -319,8 +319,8 @@
|
|||
ocp4: "{{ (env == 'production') | bool }}"
|
||||
ocp4_rdu3: "{{ (env == 'staging') | bool }}"
|
||||
# When prod has moved to rdu3:
|
||||
#ocp4: false
|
||||
#ocp4_rdu3: true
|
||||
# ocp4: false
|
||||
# ocp4_rdu3: true
|
||||
tags: bodhi
|
||||
|
||||
#
|
||||
|
|
@ -448,8 +448,8 @@
|
|||
ocp4: "{{ (env == 'production') | bool }}"
|
||||
ocp4_rdu3: "{{ (env == 'staging') | bool }}"
|
||||
# When prod has moved to rdu3:
|
||||
#ocp4: false
|
||||
#ocp4_rdu3: true
|
||||
# ocp4: false
|
||||
# ocp4_rdu3: true
|
||||
tags:
|
||||
- mirrormanager
|
||||
|
||||
|
|
@ -607,7 +607,7 @@
|
|||
- role: httpd/reverseproxy
|
||||
website: src.fedoraproject.org
|
||||
destname: git
|
||||
#proxyurl: http://localhost:10057
|
||||
# proxyurl: http://localhost:10057
|
||||
proxyurl: "{{ varnish_url }}"
|
||||
header_scheme: true
|
||||
keephost: true
|
||||
|
|
@ -933,8 +933,8 @@
|
|||
ocp4: "{{ (env == 'production') | bool }}"
|
||||
ocp4_rdu3: "{{ (env == 'staging') | bool }}"
|
||||
# When prod has moved to rdu3:
|
||||
#ocp4: false
|
||||
#ocp4_rdu3: true
|
||||
# ocp4: false
|
||||
# ocp4_rdu3: true
|
||||
tags:
|
||||
- fedoraplanet
|
||||
|
||||
|
|
@ -948,8 +948,8 @@
|
|||
ocp4: "{{ (env == 'production') | bool }}"
|
||||
ocp4_rdu3: "{{ (env == 'staging') | bool }}"
|
||||
# When prod has moved to rdu3:
|
||||
#ocp4: false
|
||||
#ocp4_rdu3: true
|
||||
# ocp4: false
|
||||
# ocp4_rdu3: true
|
||||
tags:
|
||||
- webhook2fedmsg
|
||||
|
||||
|
|
@ -963,8 +963,8 @@
|
|||
ocp4: "{{ (env == 'production') | bool }}"
|
||||
ocp4_rdu3: "{{ (env == 'staging') | bool }}"
|
||||
# When prod has moved to rdu3:
|
||||
#ocp4: false
|
||||
#ocp4_rdu3: true
|
||||
# ocp4: false
|
||||
# ocp4_rdu3: true
|
||||
tags:
|
||||
- forge
|
||||
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@
|
|||
- base
|
||||
when: nftables
|
||||
|
||||
#- name: Ensure iptables is not installed
|
||||
# - name: Ensure iptables is not installed
|
||||
# ansible.builtin.package: state=absent name=iptables
|
||||
# tags:
|
||||
# - packages
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@
|
|||
|
||||
- name: Copy the source code
|
||||
ansible.builtin.git:
|
||||
#repo: https://github.com/freeipa/ipa-tuura.git
|
||||
# repo: https://github.com/freeipa/ipa-tuura.git
|
||||
repo: https://github.com/abompard/ipa-tuura.git
|
||||
dest: /srv/ipa-tuura
|
||||
version: main
|
||||
|
|
@ -296,17 +296,17 @@
|
|||
- ipatuura
|
||||
- selinux
|
||||
|
||||
# - name: Allow HTTPd to run ipa-client-install
|
||||
# community.general.sefcontext:
|
||||
# target: "/var/log/ipaclient-.*\\.log"
|
||||
# setype: httpd_sys_content_rw_t
|
||||
# state: present
|
||||
# tags:
|
||||
# - ipatuura
|
||||
# - selinux
|
||||
# - name: Allow HTTPd to run ipa-client-install
|
||||
# community.general.sefcontext:
|
||||
# target: "/var/log/ipaclient-.*\\.log"
|
||||
# setype: httpd_sys_content_rw_t
|
||||
# state: present
|
||||
# tags:
|
||||
# - ipatuura
|
||||
# - selinux
|
||||
|
||||
- name: Apply SELinux changes
|
||||
#ansible.builtin.command: restorecon -irv /srv/ /var/log/ipaclient*
|
||||
# ansible.builtin.command: restorecon -irv /srv/ /var/log/ipaclient*
|
||||
ansible.builtin.command: restorecon -irv /srv/
|
||||
register: restorecon_output
|
||||
changed_when: restorecon_output.stdout is defined and restorecon_output.stdout | length > 0
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
mode: "0770"
|
||||
|
||||
|
||||
#- name: Checkout the Forgejo Runners Playbook
|
||||
# - name: Checkout the Forgejo Runners Playbook
|
||||
# ansible.builtin.git:
|
||||
# repo: "https://codeberg.org/fedora/ansible-role-forgejo-runner.git"
|
||||
# dest: "/root/ocp4/openshift-apps/forgejo/ansible-role-forgejo-runner"
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
tags:
|
||||
- packages
|
||||
|
||||
#- name: Install the zabbix rpm (non-staging)
|
||||
# - name: Install the zabbix rpm (non-staging)
|
||||
# ansible.builtin.command: "rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/9/x86_64/zabbix-release-latest.el9.noarch.rpm"
|
||||
# when: env != "staging"
|
||||
# ignore_errors: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue