ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package

Replaces many references to  package: with ansible.builtin.package

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2024-12-19 13:22:42 +10:00
parent 462176464b
commit 25391e95b7
166 changed files with 286 additions and 286 deletions

View file

@ -122,7 +122,7 @@
- sshfs - sshfs
- name: Install sshfs - name: Install sshfs
package: name=sshfs ansible.builtin.package: name=sshfs
state=present state=present
tags: tags:
- sshfs - sshfs

View file

@ -32,7 +32,7 @@
- import_tasks: "{{ tasks_path }}/motd.yml" - import_tasks: "{{ tasks_path }}/motd.yml"
- name: make sure certbot is installed - name: make sure certbot is installed
package: name=certbot state=installed ansible.builtin.package: name=certbot state=installed
handlers: handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -25,7 +25,7 @@
# TODO Remove in favor of base/tasks/main.yml # TODO Remove in favor of base/tasks/main.yml
- name: Install platform-python - name: Install platform-python
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- platform-python - platform-python
become: true become: true
@ -40,13 +40,13 @@
# TODO Move this to base/tasks/main.yml # TODO Move this to base/tasks/main.yml
- name: Install iptables-services - name: Install iptables-services
package: name=iptables-services state=present ansible.builtin.package: name=iptables-services state=present
become: true become: true
# TODO Postfix should have probably been installed by base/tasks/main.yml # TODO Postfix should have probably been installed by base/tasks/main.yml
# but it wasn't for this instance # but it wasn't for this instance
- name: Install postfix - name: Install postfix
package: name=postfix state=present ansible.builtin.package: name=postfix state=present
become: true become: true
- name: Temporarily dump keys so we can add them to bitwarden - name: Temporarily dump keys so we can add them to bitwarden

View file

@ -34,23 +34,23 @@
- import_tasks: "{{ tasks_path }}/motd.yml" - import_tasks: "{{ tasks_path }}/motd.yml"
- name: install debuginfod - name: install debuginfod
package: name=elfutils-debuginfod state=present ansible.builtin.package: name=elfutils-debuginfod state=present
tags: debuginfod tags: debuginfod
- name: install sqlite for diagnostics - name: install sqlite for diagnostics
package: name=sqlite state=present ansible.builtin.package: name=sqlite state=present
tags: debuginfod tags: debuginfod
- name: install sqlite-analyzer for diagnostics - name: install sqlite-analyzer for diagnostics
package: name=sqlite-analyzer state=present ansible.builtin.package: name=sqlite-analyzer state=present
tags: debuginfod tags: debuginfod
- name: install sqlite for diagnostics - name: install sqlite for diagnostics
package: name=sqlite state=present ansible.builtin.package: name=sqlite state=present
tags: debuginfod tags: debuginfod
- name: install rsync for data backups - name: install rsync for data backups
package: name=rsync state=present ansible.builtin.package: name=rsync state=present
tags: debuginfod tags: debuginfod
- name: install debuginfod configuration - name: install debuginfod configuration

View file

@ -68,7 +68,7 @@
ansible.builtin.copy: src="{{ files}}/download/last-sync" dest=/usr/local/bin/last-sync mode=0755 ansible.builtin.copy: src="{{ files}}/download/last-sync" dest=/usr/local/bin/last-sync mode=0755
when: inventory_hostname == 'download-ib01.fedoraproject.org' when: inventory_hostname == 'download-ib01.fedoraproject.org'
- name: install bc so last-sync works. - name: install bc so last-sync works.
package: name=bc state=present ansible.builtin.package: name=bc state=present
when: inventory_hostname == 'download-ib01.fedoraproject.org' when: inventory_hostname == 'download-ib01.fedoraproject.org'
- name: put in script for syncing on download-cc-rdu01 - name: put in script for syncing on download-cc-rdu01

View file

@ -91,7 +91,7 @@
tasks: tasks:
- name: install needed packages - name: install needed packages
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- httpd - httpd
- httpd-tools - httpd-tools

View file

@ -52,7 +52,7 @@
tasks: tasks:
- name: install psycopg2 for the postgresql ansible modules - name: install psycopg2 for the postgresql ansible modules
package: name=python3-psycopg2 state=present ansible.builtin.package: name=python3-psycopg2 state=present
tags: tags:
- packages - packages
@ -103,7 +103,7 @@
tasks: tasks:
- name: install more needed packages - name: install more needed packages
package: ansible.builtin.package:
state: present state: present
name: name:
- tar - tar

View file

@ -69,7 +69,7 @@
tasks: tasks:
- name: install some packages which arent in playbooks - name: install some packages which arent in playbooks
package: ansible.builtin.package:
state: present state: present
name: name:
- nmap - nmap

View file

@ -31,7 +31,7 @@
- import_tasks: "{{ tasks_path }}/motd.yml" - import_tasks: "{{ tasks_path }}/motd.yml"
- name: install haproxy - name: install haproxy
package: name=haproxy state=present ansible.builtin.package: name=haproxy state=present
- name: install haproxy config - name: install haproxy config
ansible.builtin.copy: src="{{ files }}/communishift/haproxy.cfg" dest=/etc/haproxy/haproxy.cfg ansible.builtin.copy: src="{{ files }}/communishift/haproxy.cfg" dest=/etc/haproxy/haproxy.cfg

View file

@ -190,7 +190,7 @@
- import_tasks: "{{ tasks_path }}/motd.yml" - import_tasks: "{{ tasks_path }}/motd.yml"
- name: install skopeo and buildah for container management - name: install skopeo and buildah for container management
package: ansible.builtin.package:
name: name:
- skopeo - skopeo
- buildah - buildah
@ -198,7 +198,7 @@
- containerrebuild - containerrebuild
- name: install ansible for container automated rebuilds - name: install ansible for container automated rebuilds
package: ansible.builtin.package:
name: name:
- ansible - ansible
- python3-dockerfile-parse - python3-dockerfile-parse

View file

@ -58,7 +58,7 @@
- import_tasks: "{{ tasks_path }}/motd.yml" - import_tasks: "{{ tasks_path }}/motd.yml"
- name: Install some misc packages needed for various tasks - name: Install some misc packages needed for various tasks
package: ansible.builtin.package:
state: present state: present
name: name:
- createrepo - createrepo

View file

@ -34,7 +34,7 @@
- import_tasks: "{{ tasks_path }}/motd.yml" - import_tasks: "{{ tasks_path }}/motd.yml"
- name: install some packages which arent in playbooks - name: install some packages which arent in playbooks
package: ansible.builtin.package:
state: present state: present
name: name:
- nmap - nmap

View file

@ -23,7 +23,7 @@
# Preparation # Preparation
- name: Install packages - name: Install packages
package: ansible.builtin.package:
name: name:
- freeipa-client - freeipa-client
- krb5-workstation - krb5-workstation

View file

@ -16,7 +16,7 @@
ansible.builtin.command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} ansible.builtin.command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no check_mode: no
- name: Update bugzilla2fedmsg packages from main repo - name: Update bugzilla2fedmsg packages from main repo
package: name="python-bugzilla2fedmsg" state=latest ansible.builtin.package: name="python-bugzilla2fedmsg" state=latest
when: not testing when: not testing
- name: Update bugzilla2fedmsg packages from testing repo - name: Update bugzilla2fedmsg packages from testing repo
yum: name="python-bugzilla2fedmsg" state=latest enablerepo=infrastructure-tags-stg yum: name="python-bugzilla2fedmsg" state=latest enablerepo=infrastructure-tags-stg

View file

@ -16,10 +16,10 @@
ansible.builtin.command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} ansible.builtin.command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no check_mode: no
- name: Yum update datagrepper packages from main repo - name: Yum update datagrepper packages from main repo
package: name="datagrepper" state=latest ansible.builtin.package: name="datagrepper" state=latest
when: not testing when: not testing
- name: Yum update datagrepper packages from testing repo - name: Yum update datagrepper packages from testing repo
package: name="datagrepper" state=latest enablerepo=infrastructure-tags-stg ansible.builtin.package: name="datagrepper" state=latest enablerepo=infrastructure-tags-stg
when: testing when: testing
- name: Verify the config and restart it - name: Verify the config and restart it

View file

@ -38,11 +38,11 @@
ansible.builtin.command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} ansible.builtin.command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no check_mode: no
- name: Yum update fedmsg packages from the main repo - name: Yum update fedmsg packages from the main repo
package: name={{item}} state=latest ansible.builtin.package: name={{item}} state=latest
when: not testing when: not testing
with_items: "{{packages}}" with_items: "{{packages}}"
- name: Yum update fedmsg packages from testing repo - name: Yum update fedmsg packages from testing repo
package: name={{item}} state=latest enablerepo=infrastructure-tags-stg ansible.builtin.package: name={{item}} state=latest enablerepo=infrastructure-tags-stg
when: testing when: testing
with_items: "{{packages}}" with_items: "{{packages}}"

View file

@ -68,7 +68,7 @@
# Note that "latest" here might as well be "present". The package shouldn't # Note that "latest" here might as well be "present". The package shouldn't
# be present in the first place. In any case, if it is erroneously present, # be present in the first place. In any case, if it is erroneously present,
# then we really do want the latest version. # then we really do want the latest version.
package: name=koji state=latest update_cache=yes ansible.builtin.package: name=koji state=latest update_cache=yes
when: db_upgrade_file is defined when: db_upgrade_file is defined
- name: Execute the db upgrade script - name: Execute the db upgrade script
shell: psql koji < {{db_upgrade_file}} shell: psql koji < {{db_upgrade_file}}
@ -76,7 +76,7 @@
become_user: postgres become_user: postgres
when: db_upgrade_file is defined when: db_upgrade_file is defined
- name: Remove the package, since we no longer need the script. - name: Remove the package, since we no longer need the script.
package: name=koji state=absent ansible.builtin.package: name=koji state=absent
when: db_upgrade_file is defined when: db_upgrade_file is defined
- name: Update and restart the koji hubs before we touch the builders - name: Update and restart the koji hubs before we touch the builders
@ -87,7 +87,7 @@
- "/srv/private/ansible/vars.yml" - "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks: tasks:
- package: name=koji-hub state=latest update_cache=yes - ansible.builtin.package: name=koji-hub state=latest update_cache=yes
- name: Restart httpd on the koji-hubs. - name: Restart httpd on the koji-hubs.
service: name="httpd" state=started service: name="httpd" state=started
- name: Unsilence nagios - name: Unsilence nagios
@ -103,6 +103,6 @@
- "/srv/private/ansible/vars.yml" - "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks: tasks:
- package: name=koji-builder state=latest update_cache=yes - ansible.builtin.package: name=koji-builder state=latest update_cache=yes
- name: Restart all the builders. so many. - name: Restart all the builders. so many.
service: name="kojid" state=restarted service: name="kojid" state=restarted

View file

@ -16,7 +16,7 @@
ansible.builtin.command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} ansible.builtin.command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no check_mode: no
- name: Update mote packages from main repo - name: Update mote packages from main repo
package: name="mote" state=latest ansible.builtin.package: name="mote" state=latest
when: not testing when: not testing
- name: Update mote packages from testing repo - name: Update mote packages from testing repo
yum: name="mote" state=latest enablerepo=infrastructure-tags-stg yum: name="mote" state=latest enablerepo=infrastructure-tags-stg

View file

@ -16,7 +16,7 @@
ansible.builtin.command: dnf clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} ansible.builtin.command: dnf clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no check_mode: no
- name: Update fedora-packages packages from main repo - name: Update fedora-packages packages from main repo
package: name="fedora-packages" state=latest ansible.builtin.package: name="fedora-packages" state=latest
when: not testing when: not testing
- name: Update fedora-packages packages from testing repo - name: Update fedora-packages packages from testing repo
dnf: name="fedora-packages" state=latest enablerepo=infrastructure-tags-stg dnf: name="fedora-packages" state=latest enablerepo=infrastructure-tags-stg

View file

@ -26,7 +26,7 @@
tasks: tasks:
- name: Apply updates - name: Apply updates
package: ansible.builtin.package:
state: latest state: latest
name: "*" name: "*"
update_cache: true update_cache: true
@ -42,7 +42,7 @@
changed_when: true changed_when: true
- name: Apply updates with excludes - name: Apply updates with excludes
package: ansible.builtin.package:
state: latest state: latest
name: "*" name: "*"
update_cache: true update_cache: true

View file

@ -52,7 +52,7 @@
tasks: tasks:
- name: Apply updates - name: Apply updates
package: ansible.builtin.package:
state: latest state: latest
name: "*" name: "*"
update_cache: true update_cache: true
@ -68,7 +68,7 @@
changed_when: true changed_when: true
- name: Apply updates with excludes - name: Apply updates with excludes
package: ansible.builtin.package:
state: latest state: latest
name: "*" name: "*"
update_cache: true update_cache: true

View file

@ -1,6 +1,6 @@
--- ---
- name: Install postgresql packages - name: Install postgresql packages
package: ansible.builtin.package:
state: present state: present
name: name:
- python3-psycopg2 - python3-psycopg2
@ -9,14 +9,14 @@
- pg-semver - pg-semver
- name: Install ssl packages for https - name: Install ssl packages for https
package: ansible.builtin.package:
state: present state: present
name: name:
- openssl - openssl
- mod_ssl - mod_ssl
- name: Memcached rhel - name: Memcached rhel
package: ansible.builtin.package:
state: present state: present
name: name:
- memcached - memcached
@ -24,7 +24,7 @@
when: ansible_distribution == "RedHat" and faf_web_cache_type == "memcached" when: ansible_distribution == "RedHat" and faf_web_cache_type == "memcached"
- name: Memcached fedora - name: Memcached fedora
package: ansible.builtin.package:
state: present state: present
name: name:
- libmemcached - libmemcached

View file

@ -43,7 +43,7 @@
# landing page # landing page
- name: Install abrt-server-info-page - name: Install abrt-server-info-page
package: ansible.builtin.package:
name: abrt-server-info-page name: abrt-server-info-page
state: latest state: latest

View file

@ -1,13 +1,13 @@
--- ---
- name: Install faf web celery packages - name: Install faf web celery packages
package: ansible.builtin.package:
name: "{{ faf_web_celery_packages }}" name: "{{ faf_web_celery_packages }}"
state: present state: present
tags: tags:
- packages - packages
- name: Install redis package - name: Install redis package
package: ansible.builtin.package:
name: name:
- redis - redis
- python3-redis - python3-redis

View file

@ -13,51 +13,51 @@
when: ansible_distribution == 'Fedora' when: ansible_distribution == 'Fedora'
- name: Erase faf packages - name: Erase faf packages
package: ansible.builtin.package:
name: "faf-*" name: "faf-*"
state: absent state: absent
when: faf_force_reinstall|bool when: faf_force_reinstall|bool
- name: Install core faf packages - name: Install core faf packages
package: ansible.builtin.package:
name: "{{ faf_packages }}" name: "{{ faf_packages }}"
state: present state: present
- name: Install faf problem packages - name: Install faf problem packages
package: ansible.builtin.package:
name: "{{ faf_problem_packages }}" name: "{{ faf_problem_packages }}"
state: present state: present
- name: Install faf opsys packages - name: Install faf opsys packages
package: ansible.builtin.package:
name: "{{ faf_opsys_packages }}" name: "{{ faf_opsys_packages }}"
state: present state: present
- name: Install faf action packages - name: Install faf action packages
package: ansible.builtin.package:
name: "{{ faf_action_packages }}" name: "{{ faf_action_packages }}"
state: present state: present
- name: Install faf bugtracker packages - name: Install faf bugtracker packages
package: ansible.builtin.package:
name: "{{ faf_bugtracker_packages }}" name: "{{ faf_bugtracker_packages }}"
state: present state: present
when: faf_with_bugtrackers|bool when: faf_with_bugtrackers|bool
- name: Install faf celery packages - name: Install faf celery packages
package: ansible.builtin.package:
name: "{{ faf_celery_packages }}" name: "{{ faf_celery_packages }}"
state: present state: present
when: faf_with_celery|bool when: faf_with_celery|bool
- name: Install faf fedmsg packages - name: Install faf fedmsg packages
package: ansible.builtin.package:
name: "{{ faf_fedmsg_packages }}" name: "{{ faf_fedmsg_packages }}"
state: present state: present
when: faf_with_fedmsg|bool when: faf_with_fedmsg|bool
- name: Install faf solutionfinder packages - name: Install faf solutionfinder packages
package: ansible.builtin.package:
name: "{{ faf_solutionfinder_packages }}" name: "{{ faf_solutionfinder_packages }}"
state: present state: present
when: faf_with_solutionfinders|bool when: faf_with_solutionfinders|bool

View file

@ -1,5 +1,5 @@
--- ---
- name: Update faf packages - name: Update faf packages
package: ansible.builtin.package:
name: "faf*" name: "faf*"
state: latest state: latest

View file

@ -10,7 +10,7 @@
when: not faf_web_on_root|bool when: not faf_web_on_root|bool
- name: Install faf-webui packages - name: Install faf-webui packages
package: ansible.builtin.package:
name: "{{ faf_web_packages }}" name: "{{ faf_web_packages }}"
state: present state: present
@ -19,7 +19,7 @@
when: faf_with_celery|bool when: faf_with_celery|bool
- name: Install faf web symboltransfer packages - name: Install faf web symboltransfer packages
package: ansible.builtin.package:
name: "{{ faf_web_symboltransfer_packages }}" name: "{{ faf_web_symboltransfer_packages }}"
state: present state: present
when: faf_with_symboltransfer|bool when: faf_with_symboltransfer|bool

View file

@ -1,11 +1,11 @@
--- ---
- name: Erase retrace-server packages - name: Erase retrace-server packages
package: ansible.builtin.package:
name: retrace-server name: retrace-server
state: absent state: absent
when: rs_force_reinstall|bool when: rs_force_reinstall|bool
- name: Install retrace-server package - name: Install retrace-server package
package: ansible.builtin.package:
name: retrace-server name: retrace-server
state: present state: present

View file

@ -1,6 +1,6 @@
--- ---
- name: Install Podman package - name: Install Podman package
package: ansible.builtin.package:
name: podman name: podman
state: present state: present

View file

@ -3,7 +3,7 @@
# Setup ansible-server instance # Setup ansible-server instance
# #
- name: Install needed packages - name: Install needed packages
package: ansible.builtin.package:
name: name:
- ansible-core - ansible-core
- git-core - git-core

View file

@ -1,7 +1,7 @@
--- ---
# install apache(httpd) # install apache(httpd)
- name: Install apache (package) - name: Install apache (package)
package: ansible.builtin.package:
state: present state: present
name: name:
- httpd - httpd
@ -12,7 +12,7 @@
when: ansible_cmdline.ostree is not defined when: ansible_cmdline.ostree is not defined
- name: Install mod_http2 on rhel8 hosts - name: Install mod_http2 on rhel8 hosts
package: ansible.builtin.package:
state: present state: present
name: name:
- mod_http2 - mod_http2

View file

@ -1,6 +1,6 @@
--- ---
- name: Install that apps-fp-o rpm package - name: Install that apps-fp-o rpm package
package: name=apps-fp-o state=present ansible.builtin.package: name=apps-fp-o state=present
tags: tags:
- apps-fp-o - apps-fp-o

View file

@ -10,7 +10,7 @@
# which in turn pulls in python3-policycoreutils # which in turn pulls in python3-policycoreutils
# #
- name: Ensure packages required for semanage are installed (fedora/rhel8) - name: Ensure packages required for semanage are installed (fedora/rhel8)
package: name=policycoreutils-python-utils state=present ansible.builtin.package: name=policycoreutils-python-utils state=present
when: ansible_distribution_major_version|int > 7 when: ansible_distribution_major_version|int > 7
tags: tags:
- selinux - selinux
@ -58,7 +58,7 @@
- base - base
- name: Dist pkgs to remove (yum) - name: Dist pkgs to remove (yum)
package: state=absent name={{ item }} ansible.builtin.package: state=absent name={{ item }}
with_items: with_items:
- "{{ base_pkgs_erase }}" - "{{ base_pkgs_erase }}"
tags: tags:
@ -67,7 +67,7 @@
when: ansible_distribution_major_version|int < 8 and ansible_distribution == 'RedHat' when: ansible_distribution_major_version|int < 8 and ansible_distribution == 'RedHat'
- name: Dist pkgs to install (yum) - name: Dist pkgs to install (yum)
package: state=present name={{ item }} ansible.builtin.package: state=present name={{ item }}
with_items: with_items:
- "{{ base_pkgs_inst }}" - "{{ base_pkgs_inst }}"
tags: tags:
@ -137,13 +137,13 @@
ansible_distribution == 'RedHat' ansible_distribution == 'RedHat'
- name: Ensure iptables is installed - name: Ensure iptables is installed
package: state=present name=iptables ansible.builtin.package: state=present name=iptables
tags: tags:
- packages - packages
- base - base
- name: Ensure ipset is installed - name: Ensure ipset is installed
package: state=present name=ipset ansible.builtin.package: state=present name=ipset
tags: tags:
- packages - packages
- base - base
@ -269,7 +269,7 @@
when: inventory_hostname.startswith('log01') when: inventory_hostname.startswith('log01')
- name: Ensure packages required for rsyslog are installed - name: Ensure packages required for rsyslog are installed
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- rsyslog-gnutls - rsyslog-gnutls
tags: tags:
@ -514,7 +514,7 @@
# with that because they also run the same on python2 hosts. # with that because they also run the same on python2 hosts.
# So, we set python3 to /usr/bin/python on those hosts: # So, we set python3 to /usr/bin/python on those hosts:
- name: Ensure that platform-python is installed on EL8 boxes - name: Ensure that platform-python is installed on EL8 boxes
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- platform-python - platform-python
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 8 when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 8

View file

@ -9,7 +9,7 @@
- block: - block:
- name: Install watchdog - name: Install watchdog
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- watchdog - watchdog
tags: tags:

View file

@ -26,7 +26,7 @@
when: birthday is defined when: birthday is defined
- name: Make sure libselinux-python is installed - name: Make sure libselinux-python is installed
package: name=libselinux-python state=present ansible.builtin.package: name=libselinux-python state=present
tags: tags:
- basessh - basessh
- sshd_config - sshd_config
@ -36,7 +36,7 @@
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int < 8 when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int < 8
- name: Make sure python3-libselinux is installed - name: Make sure python3-libselinux is installed
package: name=python3-libselinux state=present ansible.builtin.package: name=python3-libselinux state=present
tags: tags:
- basessh - basessh
- sshd_config - sshd_config

View file

@ -14,7 +14,7 @@
- config - config
- name: Install packages needed - name: Install packages needed
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- srm # secure rm to delete sensitive files. - srm # secure rm to delete sensitive files.
- ansible-core # This is our ansible master, needs ansible installed. - ansible-core # This is our ansible master, needs ansible installed.
@ -205,7 +205,7 @@
# #
- name: Install packages needed - name: Install packages needed
package: ansible.builtin.package:
name: fedora-messaging-git-hook name: fedora-messaging-git-hook
state: present state: present
tags: tags:
@ -626,7 +626,7 @@
- postgres - postgres
- name: Install psql client - name: Install psql client
package: name=postgresql state=present ansible.builtin.package: name=postgresql state=present
tags: tags:
- batcave - batcave
- postgres - postgres

View file

@ -1,6 +1,6 @@
--- ---
- name: Add pkgs for bkernel boxes - name: Add pkgs for bkernel boxes
package: ansible.builtin.package:
state: present state: present
name: name:
- pesign - pesign

View file

@ -1,6 +1,6 @@
--- ---
- name: Install needed packages for blockerbugs - name: Install needed packages for blockerbugs
package: state=present name={{ item }} ansible.builtin.package: state=present name={{ item }}
with_items: with_items:
- libselinux-python3 - libselinux-python3
- python3-mod_wsgi - python3-mod_wsgi

View file

@ -13,7 +13,7 @@
- bodhi - bodhi
- name: Install needed packages - name: Install needed packages
package: ansible.builtin.package:
name: name:
- bodhi-composer - bodhi-composer
- python3-pyramid_sawing - python3-pyramid_sawing
@ -45,7 +45,7 @@
- name: Update bodhi composer - name: Update bodhi composer
when: env == 'staging' when: env == 'staging'
package: ansible.builtin.package:
name: name:
- bodhi-composer - bodhi-composer
state: latest state: latest

View file

@ -1,6 +1,6 @@
--- ---
- name: Install btrfsmaintenance package - name: Install btrfsmaintenance package
package: ansible.builtin.package:
state: present state: present
name: name:
- btrfsmaintenance - btrfsmaintenance

View file

@ -2,7 +2,7 @@
# Setup a fedmsg-hub # Setup a fedmsg-hub
- name: Install needed packages - name: Install needed packages
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- python-moksha-hub - python-moksha-hub
- python-bugzilla2fedmsg - python-bugzilla2fedmsg

View file

@ -3,7 +3,7 @@
## Install packages ## Install packages
- name: Install needed packages - name: Install needed packages
package: ansible.builtin.package:
state: present state: present
name: name:
- python-bugzilla - python-bugzilla

View file

@ -2,7 +2,7 @@
# tasklist for setting up CGit # tasklist for setting up CGit
- name: Install the needed packages - name: Install the needed packages
package: name={{item}} state=present ansible.builtin.package: name={{item}} state=present
with_items: with_items:
- cgit - cgit
- mod_ssl - mod_ssl

View file

@ -2,7 +2,7 @@
# tasklist for setting up the CGit file list # tasklist for setting up the CGit file list
- name: Install semanage - name: Install semanage
package: name=/usr/sbin/semanage state=present ansible.builtin.package: name=/usr/sbin/semanage state=present
tags: cgit tags: cgit
- name: Create the git root directory (/srv/git) - name: Create the git root directory (/srv/git)

View file

@ -110,7 +110,7 @@
--- ---
- name: Install required packages - name: Install required packages
package: ansible.builtin.package:
name: ['fedora-messaging', 'python3-fedfind', 'python3-openqa_client', 'python3-pip', name: ['fedora-messaging', 'python3-fedfind', 'python3-openqa_client', 'python3-pip',
'python3-pip'] 'python3-pip']
state: present state: present

View file

@ -1,6 +1,6 @@
--- ---
- name: Install chrony - name: Install chrony
package: name=chrony state=present ansible.builtin.package: name=chrony state=present
tags: tags:
- chrony - chrony
- package - package

View file

@ -14,7 +14,7 @@
# - clamscan_weekday (optional) # - clamscan_weekday (optional)
- name: Install the needed packages - name: Install the needed packages
package: name={{item}} state=present ansible.builtin.package: name={{item}} state=present
with_items: with_items:
- clamav - clamav
- clamav-data - clamav-data

View file

@ -3,7 +3,7 @@
# install pkg # install pkg
--- ---
- name: Install collectd - name: Install collectd
package: name=collectd state=present ansible.builtin.package: name=collectd state=present
tags: tags:
- collectd - collectd
when: ansible_distribution_major_version|int <= 7 and ansible_distribution == 'RedHat' when: ansible_distribution_major_version|int <= 7 and ansible_distribution == 'RedHat'
@ -64,7 +64,7 @@
# apache - localhost only - pretty much any apache server # apache - localhost only - pretty much any apache server
- name: Install collectd-apache (yum) - name: Install collectd-apache (yum)
package: state=present name=collectd-apache ansible.builtin.package: state=present name=collectd-apache
tags: tags:
- collectd - collectd
notify: notify:
@ -96,7 +96,7 @@
when: collectd_apache when: collectd_apache
- name: Install libsemanage-python so we can set an sebool below - name: Install libsemanage-python so we can set an sebool below
package: name=libsemanage-python state=present ansible.builtin.package: name=libsemanage-python state=present
tags: tags:
- collectd - collectd
when: collectd_apache is defined and ansible_distribution_major_version|int <= 7 and ansible_distribution == 'RedHat' when: collectd_apache is defined and ansible_distribution_major_version|int <= 7 and ansible_distribution == 'RedHat'

View file

@ -1,7 +1,7 @@
--- ---
- name: Install collectd-bind - name: Install collectd-bind
package: name=collectd-bind state=present ansible.builtin.package: name=collectd-bind state=present
tags: tags:
- packages - packages
- collectd - collectd

View file

@ -1,7 +1,7 @@
--- ---
- name: Install python-retask - name: Install python-retask
package: name=python-retask state=present ansible.builtin.package: name=python-retask state=present
tags: tags:
- collectd - collectd

View file

@ -1,6 +1,6 @@
--- ---
- name: Install collectd-rabbitmq - name: Install collectd-rabbitmq
package: ansible.builtin.package:
state: present state: present
name: python3-collectd-rabbitmq-monitoring name: python3-collectd-rabbitmq-monitoring
tags: tags:
@ -8,7 +8,7 @@
- collectd - collectd
- name: Install collectd-python - name: Install collectd-python
package: ansible.builtin.package:
state: present state: present
name: collectd-python name: collectd-python
tags: tags:

View file

@ -3,7 +3,7 @@
# install pkg # install pkg
- name: Install collectd server packages (rhel 7) - name: Install collectd server packages (rhel 7)
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- collectd-rrdtool - collectd-rrdtool
- collectd-web - collectd-web
@ -16,7 +16,7 @@
when: ansible_distribution_major_version|int == 7 when: ansible_distribution_major_version|int == 7
- name: Install collectd server packages (rhel 8) - name: Install collectd server packages (rhel 8)
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- collectd-rrdtool - collectd-rrdtool
- collectd-web - collectd-web

View file

@ -13,7 +13,7 @@
tasks: tasks:
- name: install guestfish & friends - name: install guestfish & friends
package: ansible.builtin.package:
name: "{{ packages }}" name: "{{ packages }}"
vars: vars:
packages: packages:
@ -42,7 +42,7 @@
name: praiskup/helpers name: praiskup/helpers
- name: install helpers - name: install helpers
package: name=praiskup-helpers state=present ansible.builtin.package: name=praiskup-helpers state=present
register: helpers_installed register: helpers_installed
- name: remount with larger TMP - name: remount with larger TMP
@ -106,7 +106,7 @@
when: not key_stat.stat.exists when: not key_stat.stat.exists
# - name: install composer packages # - name: install composer packages
# package: name={{ packages }} # ansible.builtin.package: name={{ packages }}
# vars: # vars:
# - packages: # - packages:
# - osbuild-composer # - osbuild-composer

View file

@ -6,7 +6,7 @@
tags: always tags: always
- name: disable zram SWAP on builders, it is too small, issue 2077 - name: disable zram SWAP on builders, it is too small, issue 2077
package: name=zram-generator-defaults state=absent ansible.builtin.package: name=zram-generator-defaults state=absent
when: when:
- preparing_image - preparing_image
@ -98,7 +98,7 @@
when: preparing_image when: preparing_image
- name: install subscription-manager - name: install subscription-manager
package: name=subscription-manager state=present ansible.builtin.package: name=subscription-manager state=present
when: when:
- preparing_image - preparing_image
@ -210,7 +210,7 @@
shell: /usr/bin/copr-update-builder shell: /usr/bin/copr-update-builder
# - name: install the latest mock and mock-core-configs from updates-testing # - name: install the latest mock and mock-core-configs from updates-testing
# package: state=latest name={{ packages }} # ansible.builtin.package: state=latest name={{ packages }}
# register: mock_updated # register: mock_updated
# vars: # vars:
# packages: # packages:

View file

@ -8,7 +8,7 @@
tags: mdadm tags: mdadm
- name: Install LVM and RAID utilities - name: Install LVM and RAID utilities
package: ansible.builtin.package:
name: name:
- lvm2 - lvm2
- mdadm - mdadm

View file

@ -198,7 +198,7 @@
- images_s390x - images_s390x
- name: Sometimes it is worth having the copr.py ansible plugin - name: Sometimes it is worth having the copr.py ansible plugin
package: name=ansible-collection-community-general state=latest ansible.builtin.package: name=ansible-collection-community-general state=latest
- name: Install IBM Cloud token file - name: Install IBM Cloud token file
ansible.builtin.copy: ansible.builtin.copy:

View file

@ -16,7 +16,7 @@
# - config # - config
- name: Enable epel for non-fedora hosts - name: Enable epel for non-fedora hosts
package: state=present pkg="epel-release" ansible.builtin.package: state=present pkg="epel-release"
when: ansible_distribution != 'Fedora' when: ansible_distribution != 'Fedora'
- name: Copy .forward file - name: Copy .forward file
@ -43,7 +43,7 @@
notify: restart crond notify: restart crond
- name: Install base copr packages - name: Install base copr packages
package: ansible.builtin.package:
name: name:
- acl # useful for ansible acl module - acl # useful for ansible acl module
- bash-completion - bash-completion
@ -57,7 +57,7 @@
packages packages
- name: Install rsyslog-logrotate - name: Install rsyslog-logrotate
package: name=rsyslog-logrotate state=present ansible.builtin.package: name=rsyslog-logrotate state=present
when: ansible_distribution == 'Fedora' when: ansible_distribution == 'Fedora'
- name: Configure anacrond to not send mails to root user - name: Configure anacrond to not send mails to root user
@ -75,7 +75,7 @@
when: ansible_distribution == 'Fedora' when: ansible_distribution == 'Fedora'
- name: Install copr-selinux - name: Install copr-selinux
package: ansible.builtin.package:
state: latest state: latest
name: copr-selinux name: copr-selinux
tags: tags:
@ -140,11 +140,11 @@
# https://github.com/fedora-copr/copr/issues/3439 # https://github.com/fedora-copr/copr/issues/3439
- name: Install iptables-nft - name: Install iptables-nft
package: name=iptables-nft state=present ansible.builtin.package: name=iptables-nft state=present
register: iptables register: iptables
- name: Remove iptables-legacy - name: Remove iptables-legacy
package: name=iptables-legacy state=absent ansible.builtin.package: name=iptables-legacy state=absent
- name: Restart iptables - name: Restart iptables
service: name=iptables state=restarted service: name=iptables state=restarted

View file

@ -7,7 +7,7 @@
- certbot - certbot
- name: Install certbot package - name: Install certbot package
package: name=certbot state=present ansible.builtin.package: name=certbot state=present
tags: tags:
- certbot - certbot

View file

@ -1,6 +1,6 @@
--- ---
- name: Install postresql - name: Install postresql
package: state=present pkg={{ item }} ansible.builtin.package: state=present pkg={{ item }}
with_items: with_items:
- "postgresql-server" - "postgresql-server"
- "postgresql-contrib" - "postgresql-contrib"

View file

@ -31,7 +31,7 @@
tags: profile_scripts tags: profile_scripts
- name: Install libvirt packages - name: Install libvirt packages
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- qemu-kvm - qemu-kvm
- libguestfs-tools-c - libguestfs-tools-c
@ -177,7 +177,7 @@
- packages - packages
- name: Install the latest helper package - name: Install the latest helper package
package: name=praiskup-helpers state=latest ansible.builtin.package: name=praiskup-helpers state=latest
tags: tags:
- update_helpers - update_helpers
- packages - packages

View file

@ -1,6 +1,6 @@
--- ---
- name: Install dhcp server package - name: Install dhcp server package
package: state=present name=dhcp-server ansible.builtin.package: state=present name=dhcp-server
tags: tags:
- packages - packages
- base - base

View file

@ -2,7 +2,7 @@
# Configuration for the pagure webapp # Configuration for the pagure webapp
- name: Install needed packages - name: Install needed packages
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- pagure - pagure
- pagure-ev - pagure-ev
@ -20,7 +20,7 @@
- packages - packages
- name: Install needed packages - name: Install needed packages
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- pagure-theme-srcfpo - pagure-theme-srcfpo
tags: tags:
@ -313,7 +313,7 @@
# setup fedora-messaging # setup fedora-messaging
- name: Install fedora-messaging as a dependency - name: Install fedora-messaging as a dependency
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- fedora-messaging - fedora-messaging
tags: tags:

View file

@ -16,7 +16,7 @@
state=enabled state=enabled
- name: Install the needed packages - name: Install the needed packages
package: name={{item}} state=present ansible.builtin.package: name={{item}} state=present
with_items: with_items:
- git - git
- httpd - httpd
@ -121,7 +121,7 @@
# -- Dist Git -------------------------------------------- # -- Dist Git --------------------------------------------
# This is the Git setup itself: group, root directory, scripts,... # This is the Git setup itself: group, root directory, scripts,...
- name: Install dist-git - name: Install dist-git
package: name={{item}} state=present ansible.builtin.package: name={{item}} state=present
with_items: with_items:
- dist-git - dist-git
- dist-git-selinux - dist-git-selinux
@ -343,7 +343,7 @@
- selinux - selinux
- name: Setup grokmirror for repos - name: Setup grokmirror for repos
package: name=python3-grokmirror state=installed ansible.builtin.package: name=python3-grokmirror state=installed
tags: tags:
- grokmirror - grokmirror
- pkgs - pkgs

View file

@ -1,6 +1,6 @@
--- ---
- name: Install packages - name: Install packages
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- bind - bind
- unzip - unzip

View file

@ -1,6 +1,6 @@
--- ---
- name: Install needed packages - name: Install needed packages
package: name={{ item }} state=present update_cache=yes ansible.builtin.package: name={{ item }} state=present update_cache=yes
with_items: with_items:
- bzip2 - bzip2
- mod_ssl - mod_ssl
@ -90,7 +90,7 @@
- reload httpd - reload httpd
- name: Install haveged for entropy - name: Install haveged for entropy
package: name=haveged state=present ansible.builtin.package: name=haveged state=present
tags: tags:
- httpd - httpd
- httpd/proxy - httpd/proxy

View file

@ -19,7 +19,7 @@
## Install packages ## Install packages
- name: Install needed packages - name: Install needed packages
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- python-fedora - python-fedora
- python-jinja2 - python-jinja2

View file

@ -5,7 +5,7 @@
# #
- name: Install fasjson-client - name: Install fasjson-client
package: ansible.builtin.package:
state: present state: present
name: name:
- fasjson-client - fasjson-client

View file

@ -3,7 +3,7 @@
# This is the base set of files needed for fedmsg # This is the base set of files needed for fedmsg
- name: Install needed packages - name: Install needed packages
package: ansible.builtin.package:
state: present state: present
name: name:
- libsemanage-python - libsemanage-python
@ -14,7 +14,7 @@
when: ansible_distribution_major_version|int < 8 when: ansible_distribution_major_version|int < 8
- name: Install python2 fedmsg package - name: Install python2 fedmsg package
package: name=fedmsg state=present ansible.builtin.package: name=fedmsg state=present
when: "'python34_fedmsg' not in group_names and ansible_distribution_major_version|int < 22" when: "'python34_fedmsg' not in group_names and ansible_distribution_major_version|int < 22"
tags: fedmsg/base tags: fedmsg/base
@ -24,7 +24,7 @@
tags: fedmsg/base tags: fedmsg/base
- name: Install the python34 fedmsg package (yum) - name: Install the python34 fedmsg package (yum)
package: name=python34-fedmsg-core state=present ansible.builtin.package: name=python34-fedmsg-core state=present
when: "'python34_fedmsg' in group_names and ansible_distribution_major_version|int < 22" when: "'python34_fedmsg' in group_names and ansible_distribution_major_version|int < 22"
tags: fedmsg/base tags: fedmsg/base
@ -146,7 +146,7 @@
- restart fedmsg-relay - restart fedmsg-relay
- name: Install fedmsg-relay in case we're in debug mode. - name: Install fedmsg-relay in case we're in debug mode.
package: name=fedmsg-relay state=present ansible.builtin.package: name=fedmsg-relay state=present
when: fedmsg_debug_loopback == true and ansible_distribution_major_version|int < 22 when: fedmsg_debug_loopback == true and ansible_distribution_major_version|int < 22
tags: tags:
- fedmsg_loopback - fedmsg_loopback

View file

@ -3,7 +3,7 @@
- name: Install needed packages - name: Install needed packages
package: ansible.builtin.package:
state: present state: present
name: name:
- fedmsg-gateway - fedmsg-gateway
@ -15,7 +15,7 @@
when: (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int < 8) or (ansible_distribution_major_version|int < 30 and ansible_distribution == 'Fedora') when: (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int < 8) or (ansible_distribution_major_version|int < 30 and ansible_distribution == 'Fedora')
- name: Install needed packages in a python 3 manner - name: Install needed packages in a python 3 manner
package: ansible.builtin.package:
state: present state: present
name: name:
- python3-fedmsg - python3-fedmsg

View file

@ -1,6 +1,6 @@
--- ---
- name: Install fedmsg-gateway - name: Install fedmsg-gateway
package: name=fedmsg-gateway state=present ansible.builtin.package: name=fedmsg-gateway state=present
tags: tags:
- packages - packages
- fedmsg/gateway - fedmsg/gateway

View file

@ -2,13 +2,13 @@
# Setup a fedmsg-hub # Setup a fedmsg-hub
- name: Install needed packages - py2 - name: Install needed packages - py2
package: name=fedmsg-hub state=present ansible.builtin.package: name=fedmsg-hub state=present
tags: tags:
- packages - packages
when: "'python34_fedmsg' not in group_names" when: "'python34_fedmsg' not in group_names"
- name: Install the python34 fedmsg package (yum) - name: Install the python34 fedmsg package (yum)
package: name=python34-fedmsg-core state=present ansible.builtin.package: name=python34-fedmsg-core state=present
when: "'python34_fedmsg' in group_names and ansible_distribution_major_version|int < 22" when: "'python34_fedmsg' in group_names and ansible_distribution_major_version|int < 22"
tags: fedmsg/base tags: fedmsg/base

View file

@ -1,6 +1,6 @@
--- ---
- name: Install package for fedmsg-irc - name: Install package for fedmsg-irc
package: ansible.builtin.package:
state: present state: present
name: name:
- python2-fedmsg-meta-fedora-infrastructure - python2-fedmsg-meta-fedora-infrastructure

View file

@ -3,7 +3,7 @@
--- ---
- name: Install fedmsg-relay (yum) - name: Install fedmsg-relay (yum)
package: name=fedmsg-relay state=present ansible.builtin.package: name=fedmsg-relay state=present
tags: tags:
- packages - packages
- fedmsg/relay - fedmsg/relay

View file

@ -1,7 +1,7 @@
--- ---
- name: Install packages - name: Install packages
package: ansible.builtin.package:
name: name:
- po4a - po4a
- git - git
@ -19,7 +19,7 @@
when: ansible_distribution_major_version|int < 9 when: ansible_distribution_major_version|int < 9
- name: Install packages - name: Install packages
package: ansible.builtin.package:
name: name:
- po4a - po4a
- git - git

View file

@ -1,6 +1,6 @@
--- ---
- name: Install needed packages - name: Install needed packages
package: ansible.builtin.package:
state: present state: present
name: name:
- babel - babel
@ -15,7 +15,7 @@
when: ansible_distribution_major_version|int < 9 when: ansible_distribution_major_version|int < 9
- name: Install needed packages - name: Install needed packages
package: ansible.builtin.package:
state: present state: present
name: name:
- babel - babel
@ -30,7 +30,7 @@
when: ansible_distribution_major_version|int >= 9 when: ansible_distribution_major_version|int >= 9
- name: Install extra packages for staging - name: Install extra packages for staging
package: ansible.builtin.package:
state: present state: present
name: name:
- python-dogpile-cache - python-dogpile-cache
@ -40,7 +40,7 @@
when: ansible_distribution_major_version|int < 9 when: ansible_distribution_major_version|int < 9
- name: Install extra packages for staging - name: Install extra packages for staging
package: ansible.builtin.package:
state: present state: present
name: name:
- python3-dogpile-cache - python3-dogpile-cache

View file

@ -1,6 +1,6 @@
--- ---
- name: Install needed packages - name: Install needed packages
package: ansible.builtin.package:
state: present state: present
name: name:
- s3cmd - s3cmd

View file

@ -1,7 +1,7 @@
# For info, check roles/httpd/reverseproxy/templates/reversepassproxy.src.conf # For info, check roles/httpd/reverseproxy/templates/reversepassproxy.src.conf
--- ---
- name: Install mod_auth_gssapi - name: Install mod_auth_gssapi
package: name=mod_auth_gssapi ansible.builtin.package: name=mod_auth_gssapi
state=present state=present
notify: notify:
- reload proxyhttpd - reload proxyhttpd

View file

@ -1,6 +1,6 @@
--- ---
- name: Install packages - name: Install packages
package: ansible.builtin.package:
name: name:
- babel - babel
- git - git

View file

@ -76,7 +76,7 @@
--- ---
- name: Install required packages - name: Install required packages
package: ansible.builtin.package:
# 'relval' itself is needed as we call it directly for size # 'relval' itself is needed as we call it directly for size
# checking # checking
name: ['python3-fedfind', 'fedora-messaging', 'python3-pip', 'python3-pip', 'python3-openqa_client'] name: ['python3-fedfind', 'fedora-messaging', 'python3-pip', 'python3-pip', 'python3-openqa_client']

View file

@ -1,6 +1,6 @@
--- ---
- name: Install packages needed - name: Install packages needed
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- squid - squid
- gettext - gettext

View file

@ -2,7 +2,7 @@
# Tasklist for setting up freemedia cgi. # Tasklist for setting up freemedia cgi.
- name: Install needed php packages - name: Install needed php packages
package: ansible.builtin.package:
state: present state: present
name: name:
- php - php

View file

@ -5,7 +5,7 @@
# #
# install necessary packages # install necessary packages
- name: Install python-paste-deploy geolite2-city python2-iso3166 python2-geoip2 - name: Install python-paste-deploy geolite2-city python2-iso3166 python2-geoip2
package: ansible.builtin.package:
name: name:
- python-paste-deploy - python-paste-deploy
- geolite2-city - geolite2-city
@ -15,7 +15,7 @@
when: ansible_distribution_major_version|int < 8 and ansible_distribution == 'RedHat' when: ansible_distribution_major_version|int < 8 and ansible_distribution == 'RedHat'
- name: Install python3-paste-deploy geolite2-city python3-iso3166 python3-geoip2 - name: Install python3-paste-deploy geolite2-city python3-iso3166 python3-geoip2
package: ansible.builtin.package:
name: name:
- python3-paste-deploy - python3-paste-deploy
- geolite2-city - geolite2-city

View file

@ -1,13 +1,13 @@
--- ---
# install python-geoIP # install python-geoIP
- name: Install python-GeoIP - name: Install python-GeoIP
package: name=python-GeoIP state=present ansible.builtin.package: name=python-GeoIP state=present
tags: tags:
- packages - packages
when: (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int < 8) or (ansible_distribution_major_version|int < 30 and ansible_distribution == 'Fedora') when: (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int < 8) or (ansible_distribution_major_version|int < 30 and ansible_distribution == 'Fedora')
- name: Install python3-geoip2 (RHEL8) - name: Install python3-geoip2 (RHEL8)
package: name=python3-geoip2 state=present ansible.builtin.package: name=python3-geoip2 state=present
tags: tags:
- packages - packages
when: (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int >= 8) when: (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int >= 8)

View file

@ -6,7 +6,7 @@
# jobs, triggered by fedmsg, etc... # jobs, triggered by fedmsg, etc...
- name: Install the needed packages - name: Install the needed packages
package: name=git state=present ansible.builtin.package: name=git state=present
tags: tags:
- git - git
- git/checks - git/checks

View file

@ -2,7 +2,7 @@
# tasklist for setting up git mail hooks # tasklist for setting up git mail hooks
- name: Install needed packages - name: Install needed packages
package: ansible.builtin.package:
state: present state: present
name: name:
- git - git

View file

@ -2,7 +2,7 @@
# tasklist for setting up the Git checkout seed # tasklist for setting up the Git checkout seed
- name: Make sure packages needed are installed - name: Make sure packages needed are installed
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- tar - tar
- python2 - python2

View file

@ -2,7 +2,7 @@
# tasklist for setting up a git server (git:// access) # tasklist for setting up a git server (git:// access)
- name: Install the git-daemon package - name: Install the git-daemon package
package: name=git-daemon state=present ansible.builtin.package: name=git-daemon state=present
tags: git/server tags: git/server
# If NOT using xinetd # If NOT using xinetd
@ -34,7 +34,7 @@
# If using xinetd # If using xinetd
- name: Install xinetd - name: Install xinetd
package: name=xinetd state=present ansible.builtin.package: name=xinetd state=present
when: ansible_distribution_major_version|int == 6 and ansible_distribution == 'RedHat' when: ansible_distribution_major_version|int == 6 and ansible_distribution == 'RedHat'
tags: git/server tags: git/server

View file

@ -2,7 +2,7 @@
# Configuration for the tahrir webapp # Configuration for the tahrir webapp
- name: Install needed packages - name: Install needed packages
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- github2fedmsg - github2fedmsg
- python-psycopg2 - python-psycopg2

View file

@ -2,7 +2,7 @@
# tasklist for setting up a basic gitolite # tasklist for setting up a basic gitolite
- name: Install the needed packages - name: Install the needed packages
package: name={{item}} state=present ansible.builtin.package: name={{item}} state=present
with_items: with_items:
- gitolite3 - gitolite3
- perl-Sys-Syslog - perl-Sys-Syslog

View file

@ -1,6 +1,6 @@
--- ---
- name: Install python packages - name: Install python packages
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- createrepo_c - createrepo_c
- libmodulemd - libmodulemd

View file

@ -4,7 +4,7 @@
# #
- name: Install grokmirror - name: Install grokmirror
package: name=python3-grokmirror state=installed ansible.builtin.package: name=python3-grokmirror state=installed
tags: tags:
- grokmirror-mirror - grokmirror-mirror

View file

@ -2,7 +2,7 @@
# Tasks to set up haproxy # Tasks to set up haproxy
- name: Install needed packages - name: Install needed packages
package: name={{ item }} state=present ansible.builtin.package: name={{ item }} state=present
with_items: with_items:
- haproxy - haproxy
- socat - socat
@ -49,7 +49,7 @@
- haproxy - haproxy
- name: Install libsemanage - name: Install libsemanage
package: ansible.builtin.package:
state: present state: present
name: name:
- libsemanage-python - libsemanage-python
@ -59,7 +59,7 @@
when: (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int < 8) or (ansible_distribution_major_version|int < 30 and ansible_distribution == 'Fedora') when: (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int < 8) or (ansible_distribution_major_version|int < 30 and ansible_distribution == 'Fedora')
- name: Install libsemanage in a python3 manner - name: Install libsemanage in a python3 manner
package: ansible.builtin.package:
state: present state: present
name: name:
- python3-libsemanage - python3-libsemanage

View file

@ -1,6 +1,6 @@
--- ---
- name: Install mod_ssl - name: Install mod_ssl
package: name=mod_ssl state=present ansible.builtin.package: name=mod_ssl state=present
notify: notify:
- reload proxyhttpd - reload proxyhttpd
tags: tags:
@ -21,7 +21,7 @@
- httpd/certificate - httpd/certificate
- name: Install haveged for entropy - name: Install haveged for entropy
package: name=haveged state=present ansible.builtin.package: name=haveged state=present
tags: tags:
- httpd - httpd
- httpd/proxy - httpd/proxy

View file

@ -54,7 +54,7 @@
- httpd/proxy - httpd/proxy
- name: Install libsemanage - name: Install libsemanage
package: ansible.builtin.package:
state: present state: present
name: name:
- libsemanage-python - libsemanage-python
@ -65,7 +65,7 @@
when: (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int < 8) or (ansible_distribution_major_version|int < 30 and ansible_distribution == 'Fedora') when: (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int < 8) or (ansible_distribution_major_version|int < 30 and ansible_distribution == 'Fedora')
- name: Install libsemanage in a python3 manner - name: Install libsemanage in a python3 manner
package: ansible.builtin.package:
state: present state: present
name: name:
- python3-libsemanage - python3-libsemanage

View file

@ -1,6 +1,6 @@
--- ---
- name: Install IPA client packages - name: Install IPA client packages
package: ansible.builtin.package:
name: name:
- freeipa-client - freeipa-client
state: present state: present

View file

@ -2,7 +2,7 @@
# Configuration for the ipsilon webapp # Configuration for the ipsilon webapp
- name: Install needed packages - name: Install needed packages
package: ansible.builtin.package:
state: present state: present
update_cache: yes update_cache: yes
name: name:

View file

@ -4,7 +4,7 @@
# #
# #
- name: Install packages needed for iscsi_client (yum) - name: Install packages needed for iscsi_client (yum)
package: ansible.builtin.package:
state: present state: present
name: name:
- iscsi-initiator-utils - iscsi-initiator-utils
@ -14,7 +14,7 @@
when: ansible_distribution_major_version|int < 8 and ansible_distribution == "RedHat" when: ansible_distribution_major_version|int < 8 and ansible_distribution == "RedHat"
- name: Install packages needed for iscsi_client (dnf) - name: Install packages needed for iscsi_client (dnf)
package: ansible.builtin.package:
state: present state: present
name: name:
- iscsi-initiator-utils - iscsi-initiator-utils
@ -24,7 +24,7 @@
when: ansible_distribution_major_version|int >= 29 and ansible_distribution == "Fedora" and ansible_cmdline.ostree is not defined when: ansible_distribution_major_version|int >= 29 and ansible_distribution == "Fedora" and ansible_cmdline.ostree is not defined
- name: Install packages needed for iscsi_client (dnf) - name: Install packages needed for iscsi_client (dnf)
package: ansible.builtin.package:
state: present state: present
name: name:
- iscsi-initiator-utils - iscsi-initiator-utils

View file

@ -9,7 +9,7 @@
--- ---
- name: Install keepalived package - name: Install keepalived package
package: state=present name=keepalived ansible.builtin.package: state=present name=keepalived
tags: tags:
- packages - packages
- keepalived - keepalived

View file

@ -2,7 +2,7 @@
# Configuration for the kerneltest webapp # Configuration for the kerneltest webapp
- name: Install needed packages - name: Install needed packages
package: name={{ item }} state=present update_cache=yes ansible.builtin.package: name={{ item }} state=present update_cache=yes
with_items: with_items:
- kerneltest - kerneltest
- python-psycopg2 - python-psycopg2

View file

@ -64,7 +64,7 @@
- koji_builder - koji_builder
- name: Install packages needed by koji_builders - name: Install packages needed by koji_builders
package: ansible.builtin.package:
state: present state: present
name: name:
- koji-builder - koji-builder
@ -103,7 +103,7 @@
# #
- name: Remove koji builder rpmautospec plugin - name: Remove koji builder rpmautospec plugin
package: ansible.builtin.package:
name: name:
- koji-builder-plugin-rpmautospec - koji-builder-plugin-rpmautospec
- python3-rpmautospec - python3-rpmautospec
@ -128,7 +128,7 @@
- rpmautospec - rpmautospec
- name: Install Flatpak builder plugin - name: Install Flatpak builder plugin
package: name=koji-flatpak-builder state=present ansible.builtin.package: name=koji-flatpak-builder state=present
tags: tags:
- koji_builder - koji_builder
@ -142,7 +142,7 @@
- koji_builder - koji_builder
- name: Install arm UEFI firmware package (aarch64 only) - name: Install arm UEFI firmware package (aarch64 only)
package: name=edk2-arm state=present ansible.builtin.package: name=edk2-arm state=present
tags: tags:
- koji_builder - koji_builder
when: "ansible_architecture is defined and ansible_architecture == 'aarch64'" when: "ansible_architecture is defined and ansible_architecture == 'aarch64'"
@ -287,7 +287,7 @@
# x86_64 builders run both x86_64 and i686 builds, that requires multilib # x86_64 builders run both x86_64 and i686 builds, that requires multilib
# version of nosync installed to fully take advantage of nosync # version of nosync installed to fully take advantage of nosync
- name: Special pkgs for the x86_64 builders - name: Special pkgs for the x86_64 builders
package: ansible.builtin.package:
state: present state: present
name: name:
- nosync.i686 - nosync.i686
@ -297,7 +297,7 @@
# Before, the builders had the "apache" role. This is a temporary play to remove the httpd daemon everywhere # Before, the builders had the "apache" role. This is a temporary play to remove the httpd daemon everywhere
- name: Uninstall httpd - name: Uninstall httpd
package: name=httpd ansible.builtin.package: name=httpd
state=absent state=absent
tags: tags:
- koji_builder - koji_builder
@ -362,7 +362,7 @@
# Add rngd so that virtual maachines have enough randomness to boot in our lifetimes # Add rngd so that virtual maachines have enough randomness to boot in our lifetimes
# #
- name: Install rng-tools for entropy - name: Install rng-tools for entropy
package: name=rng-tools state=present ansible.builtin.package: name=rng-tools state=present
tags: tags:
- koji_builder - koji_builder
- koji_builder/rngd - koji_builder/rngd

Some files were not shown because too many files have changed in this diff Show more