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:
parent
462176464b
commit
25391e95b7
166 changed files with 286 additions and 286 deletions
|
@ -122,7 +122,7 @@
|
|||
- sshfs
|
||||
|
||||
- name: Install sshfs
|
||||
package: name=sshfs
|
||||
ansible.builtin.package: name=sshfs
|
||||
state=present
|
||||
tags:
|
||||
- sshfs
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||
|
||||
- name: make sure certbot is installed
|
||||
package: name=certbot state=installed
|
||||
ansible.builtin.package: name=certbot state=installed
|
||||
|
||||
handlers:
|
||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
# TODO Remove in favor of base/tasks/main.yml
|
||||
- name: Install platform-python
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- platform-python
|
||||
become: true
|
||||
|
@ -40,13 +40,13 @@
|
|||
|
||||
# TODO Move this to base/tasks/main.yml
|
||||
- name: Install iptables-services
|
||||
package: name=iptables-services state=present
|
||||
ansible.builtin.package: name=iptables-services state=present
|
||||
become: true
|
||||
|
||||
# TODO Postfix should have probably been installed by base/tasks/main.yml
|
||||
# but it wasn't for this instance
|
||||
- name: Install postfix
|
||||
package: name=postfix state=present
|
||||
ansible.builtin.package: name=postfix state=present
|
||||
become: true
|
||||
|
||||
- name: Temporarily dump keys so we can add them to bitwarden
|
||||
|
|
|
@ -34,23 +34,23 @@
|
|||
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||
|
||||
- name: install debuginfod
|
||||
package: name=elfutils-debuginfod state=present
|
||||
ansible.builtin.package: name=elfutils-debuginfod state=present
|
||||
tags: debuginfod
|
||||
|
||||
- name: install sqlite for diagnostics
|
||||
package: name=sqlite state=present
|
||||
ansible.builtin.package: name=sqlite state=present
|
||||
tags: debuginfod
|
||||
|
||||
- name: install sqlite-analyzer for diagnostics
|
||||
package: name=sqlite-analyzer state=present
|
||||
ansible.builtin.package: name=sqlite-analyzer state=present
|
||||
tags: debuginfod
|
||||
|
||||
- name: install sqlite for diagnostics
|
||||
package: name=sqlite state=present
|
||||
ansible.builtin.package: name=sqlite state=present
|
||||
tags: debuginfod
|
||||
|
||||
- name: install rsync for data backups
|
||||
package: name=rsync state=present
|
||||
ansible.builtin.package: name=rsync state=present
|
||||
tags: debuginfod
|
||||
|
||||
- name: install debuginfod configuration
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
ansible.builtin.copy: src="{{ files}}/download/last-sync" dest=/usr/local/bin/last-sync mode=0755
|
||||
when: inventory_hostname == 'download-ib01.fedoraproject.org'
|
||||
- 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'
|
||||
|
||||
- name: put in script for syncing on download-cc-rdu01
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
|
||||
tasks:
|
||||
- name: install needed packages
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- httpd
|
||||
- httpd-tools
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
tasks:
|
||||
- name: install psycopg2 for the postgresql ansible modules
|
||||
package: name=python3-psycopg2 state=present
|
||||
ansible.builtin.package: name=python3-psycopg2 state=present
|
||||
tags:
|
||||
- packages
|
||||
|
||||
|
@ -103,7 +103,7 @@
|
|||
|
||||
tasks:
|
||||
- name: install more needed packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- tar
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
|
||||
tasks:
|
||||
- name: install some packages which arent in playbooks
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- nmap
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||
|
||||
- name: install haproxy
|
||||
package: name=haproxy state=present
|
||||
ansible.builtin.package: name=haproxy state=present
|
||||
|
||||
- name: install haproxy config
|
||||
ansible.builtin.copy: src="{{ files }}/communishift/haproxy.cfg" dest=/etc/haproxy/haproxy.cfg
|
||||
|
|
|
@ -190,7 +190,7 @@
|
|||
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||
|
||||
- name: install skopeo and buildah for container management
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- skopeo
|
||||
- buildah
|
||||
|
@ -198,7 +198,7 @@
|
|||
- containerrebuild
|
||||
|
||||
- name: install ansible for container automated rebuilds
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- ansible
|
||||
- python3-dockerfile-parse
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||
|
||||
- name: Install some misc packages needed for various tasks
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- createrepo
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||
|
||||
- name: install some packages which arent in playbooks
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- nmap
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# Preparation
|
||||
|
||||
- name: Install packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- freeipa-client
|
||||
- krb5-workstation
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
ansible.builtin.command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
|
||||
check_mode: no
|
||||
- name: Update bugzilla2fedmsg packages from main repo
|
||||
package: name="python-bugzilla2fedmsg" state=latest
|
||||
ansible.builtin.package: name="python-bugzilla2fedmsg" state=latest
|
||||
when: not testing
|
||||
- name: Update bugzilla2fedmsg packages from testing repo
|
||||
yum: name="python-bugzilla2fedmsg" state=latest enablerepo=infrastructure-tags-stg
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
ansible.builtin.command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
|
||||
check_mode: no
|
||||
- name: Yum update datagrepper packages from main repo
|
||||
package: name="datagrepper" state=latest
|
||||
ansible.builtin.package: name="datagrepper" state=latest
|
||||
when: not testing
|
||||
- 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
|
||||
|
||||
- name: Verify the config and restart it
|
||||
|
|
|
@ -38,11 +38,11 @@
|
|||
ansible.builtin.command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
|
||||
check_mode: no
|
||||
- name: Yum update fedmsg packages from the main repo
|
||||
package: name={{item}} state=latest
|
||||
ansible.builtin.package: name={{item}} state=latest
|
||||
when: not testing
|
||||
with_items: "{{packages}}"
|
||||
- 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
|
||||
with_items: "{{packages}}"
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
# 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,
|
||||
# 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
|
||||
- name: Execute the db upgrade script
|
||||
shell: psql koji < {{db_upgrade_file}}
|
||||
|
@ -76,7 +76,7 @@
|
|||
become_user: postgres
|
||||
when: db_upgrade_file is defined
|
||||
- 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
|
||||
|
||||
- name: Update and restart the koji hubs before we touch the builders
|
||||
|
@ -87,7 +87,7 @@
|
|||
- "/srv/private/ansible/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
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.
|
||||
service: name="httpd" state=started
|
||||
- name: Unsilence nagios
|
||||
|
@ -103,6 +103,6 @@
|
|||
- "/srv/private/ansible/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
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.
|
||||
service: name="kojid" state=restarted
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
ansible.builtin.command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
|
||||
check_mode: no
|
||||
- name: Update mote packages from main repo
|
||||
package: name="mote" state=latest
|
||||
ansible.builtin.package: name="mote" state=latest
|
||||
when: not testing
|
||||
- name: Update mote packages from testing repo
|
||||
yum: name="mote" state=latest enablerepo=infrastructure-tags-stg
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
ansible.builtin.command: dnf clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
|
||||
check_mode: no
|
||||
- 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
|
||||
- name: Update fedora-packages packages from testing repo
|
||||
dnf: name="fedora-packages" state=latest enablerepo=infrastructure-tags-stg
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
tasks:
|
||||
|
||||
- name: Apply updates
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: latest
|
||||
name: "*"
|
||||
update_cache: true
|
||||
|
@ -42,7 +42,7 @@
|
|||
changed_when: true
|
||||
|
||||
- name: Apply updates with excludes
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: latest
|
||||
name: "*"
|
||||
update_cache: true
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
tasks:
|
||||
|
||||
- name: Apply updates
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: latest
|
||||
name: "*"
|
||||
update_cache: true
|
||||
|
@ -68,7 +68,7 @@
|
|||
changed_when: true
|
||||
|
||||
- name: Apply updates with excludes
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: latest
|
||||
name: "*"
|
||||
update_cache: true
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install postgresql packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- python3-psycopg2
|
||||
|
@ -9,14 +9,14 @@
|
|||
- pg-semver
|
||||
|
||||
- name: Install ssl packages for https
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- openssl
|
||||
- mod_ssl
|
||||
|
||||
- name: Memcached rhel
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- memcached
|
||||
|
@ -24,7 +24,7 @@
|
|||
when: ansible_distribution == "RedHat" and faf_web_cache_type == "memcached"
|
||||
|
||||
- name: Memcached fedora
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- libmemcached
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
# landing page
|
||||
- name: Install abrt-server-info-page
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: abrt-server-info-page
|
||||
state: latest
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
---
|
||||
- name: Install faf web celery packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: "{{ faf_web_celery_packages }}"
|
||||
state: present
|
||||
tags:
|
||||
- packages
|
||||
|
||||
- name: Install redis package
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- redis
|
||||
- python3-redis
|
||||
|
|
|
@ -13,51 +13,51 @@
|
|||
when: ansible_distribution == 'Fedora'
|
||||
|
||||
- name: Erase faf packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: "faf-*"
|
||||
state: absent
|
||||
when: faf_force_reinstall|bool
|
||||
|
||||
- name: Install core faf packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: "{{ faf_packages }}"
|
||||
state: present
|
||||
|
||||
- name: Install faf problem packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: "{{ faf_problem_packages }}"
|
||||
state: present
|
||||
|
||||
- name: Install faf opsys packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: "{{ faf_opsys_packages }}"
|
||||
state: present
|
||||
|
||||
- name: Install faf action packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: "{{ faf_action_packages }}"
|
||||
state: present
|
||||
|
||||
- name: Install faf bugtracker packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: "{{ faf_bugtracker_packages }}"
|
||||
state: present
|
||||
when: faf_with_bugtrackers|bool
|
||||
|
||||
- name: Install faf celery packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: "{{ faf_celery_packages }}"
|
||||
state: present
|
||||
when: faf_with_celery|bool
|
||||
|
||||
- name: Install faf fedmsg packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: "{{ faf_fedmsg_packages }}"
|
||||
state: present
|
||||
when: faf_with_fedmsg|bool
|
||||
|
||||
- name: Install faf solutionfinder packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: "{{ faf_solutionfinder_packages }}"
|
||||
state: present
|
||||
when: faf_with_solutionfinders|bool
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- name: Update faf packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: "faf*"
|
||||
state: latest
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
when: not faf_web_on_root|bool
|
||||
|
||||
- name: Install faf-webui packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: "{{ faf_web_packages }}"
|
||||
state: present
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
|||
when: faf_with_celery|bool
|
||||
|
||||
- name: Install faf web symboltransfer packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: "{{ faf_web_symboltransfer_packages }}"
|
||||
state: present
|
||||
when: faf_with_symboltransfer|bool
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
---
|
||||
- name: Erase retrace-server packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: retrace-server
|
||||
state: absent
|
||||
when: rs_force_reinstall|bool
|
||||
|
||||
- name: Install retrace-server package
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: retrace-server
|
||||
state: present
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install Podman package
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: podman
|
||||
state: present
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Setup ansible-server instance
|
||||
#
|
||||
- name: Install needed packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- ansible-core
|
||||
- git-core
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
# install apache(httpd)
|
||||
- name: Install apache (package)
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- httpd
|
||||
|
@ -12,7 +12,7 @@
|
|||
when: ansible_cmdline.ostree is not defined
|
||||
|
||||
- name: Install mod_http2 on rhel8 hosts
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- mod_http2
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- 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:
|
||||
- apps-fp-o
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
# which in turn pulls in python3-policycoreutils
|
||||
#
|
||||
- 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
|
||||
tags:
|
||||
- selinux
|
||||
|
@ -58,7 +58,7 @@
|
|||
- base
|
||||
|
||||
- name: Dist pkgs to remove (yum)
|
||||
package: state=absent name={{ item }}
|
||||
ansible.builtin.package: state=absent name={{ item }}
|
||||
with_items:
|
||||
- "{{ base_pkgs_erase }}"
|
||||
tags:
|
||||
|
@ -67,7 +67,7 @@
|
|||
when: ansible_distribution_major_version|int < 8 and ansible_distribution == 'RedHat'
|
||||
|
||||
- name: Dist pkgs to install (yum)
|
||||
package: state=present name={{ item }}
|
||||
ansible.builtin.package: state=present name={{ item }}
|
||||
with_items:
|
||||
- "{{ base_pkgs_inst }}"
|
||||
tags:
|
||||
|
@ -137,13 +137,13 @@
|
|||
ansible_distribution == 'RedHat'
|
||||
|
||||
- name: Ensure iptables is installed
|
||||
package: state=present name=iptables
|
||||
ansible.builtin.package: state=present name=iptables
|
||||
tags:
|
||||
- packages
|
||||
- base
|
||||
|
||||
- name: Ensure ipset is installed
|
||||
package: state=present name=ipset
|
||||
ansible.builtin.package: state=present name=ipset
|
||||
tags:
|
||||
- packages
|
||||
- base
|
||||
|
@ -269,7 +269,7 @@
|
|||
when: inventory_hostname.startswith('log01')
|
||||
|
||||
- name: Ensure packages required for rsyslog are installed
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- rsyslog-gnutls
|
||||
tags:
|
||||
|
@ -514,7 +514,7 @@
|
|||
# with that because they also run the same on python2 hosts.
|
||||
# So, we set python3 to /usr/bin/python on those hosts:
|
||||
- name: Ensure that platform-python is installed on EL8 boxes
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- platform-python
|
||||
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 8
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
- block:
|
||||
|
||||
- name: Install watchdog
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- watchdog
|
||||
tags:
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
when: birthday is defined
|
||||
|
||||
- name: Make sure libselinux-python is installed
|
||||
package: name=libselinux-python state=present
|
||||
ansible.builtin.package: name=libselinux-python state=present
|
||||
tags:
|
||||
- basessh
|
||||
- sshd_config
|
||||
|
@ -36,7 +36,7 @@
|
|||
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int < 8
|
||||
|
||||
- name: Make sure python3-libselinux is installed
|
||||
package: name=python3-libselinux state=present
|
||||
ansible.builtin.package: name=python3-libselinux state=present
|
||||
tags:
|
||||
- basessh
|
||||
- sshd_config
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
- config
|
||||
|
||||
- name: Install packages needed
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- srm # secure rm to delete sensitive files.
|
||||
- ansible-core # This is our ansible master, needs ansible installed.
|
||||
|
@ -205,7 +205,7 @@
|
|||
#
|
||||
|
||||
- name: Install packages needed
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: fedora-messaging-git-hook
|
||||
state: present
|
||||
tags:
|
||||
|
@ -626,7 +626,7 @@
|
|||
- postgres
|
||||
|
||||
- name: Install psql client
|
||||
package: name=postgresql state=present
|
||||
ansible.builtin.package: name=postgresql state=present
|
||||
tags:
|
||||
- batcave
|
||||
- postgres
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Add pkgs for bkernel boxes
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- pesign
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install needed packages for blockerbugs
|
||||
package: state=present name={{ item }}
|
||||
ansible.builtin.package: state=present name={{ item }}
|
||||
with_items:
|
||||
- libselinux-python3
|
||||
- python3-mod_wsgi
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
- bodhi
|
||||
|
||||
- name: Install needed packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- bodhi-composer
|
||||
- python3-pyramid_sawing
|
||||
|
@ -45,7 +45,7 @@
|
|||
|
||||
- name: Update bodhi composer
|
||||
when: env == 'staging'
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- bodhi-composer
|
||||
state: latest
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install btrfsmaintenance package
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- btrfsmaintenance
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Setup a fedmsg-hub
|
||||
|
||||
- name: Install needed packages
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- python-moksha-hub
|
||||
- python-bugzilla2fedmsg
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
## Install packages
|
||||
- name: Install needed packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- python-bugzilla
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# tasklist for setting up CGit
|
||||
|
||||
- name: Install the needed packages
|
||||
package: name={{item}} state=present
|
||||
ansible.builtin.package: name={{item}} state=present
|
||||
with_items:
|
||||
- cgit
|
||||
- mod_ssl
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# tasklist for setting up the CGit file list
|
||||
|
||||
- name: Install semanage
|
||||
package: name=/usr/sbin/semanage state=present
|
||||
ansible.builtin.package: name=/usr/sbin/semanage state=present
|
||||
tags: cgit
|
||||
|
||||
- name: Create the git root directory (/srv/git)
|
||||
|
|
|
@ -110,7 +110,7 @@
|
|||
|
||||
---
|
||||
- name: Install required packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: ['fedora-messaging', 'python3-fedfind', 'python3-openqa_client', 'python3-pip',
|
||||
'python3-pip']
|
||||
state: present
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install chrony
|
||||
package: name=chrony state=present
|
||||
ansible.builtin.package: name=chrony state=present
|
||||
tags:
|
||||
- chrony
|
||||
- package
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
# - clamscan_weekday (optional)
|
||||
|
||||
- name: Install the needed packages
|
||||
package: name={{item}} state=present
|
||||
ansible.builtin.package: name={{item}} state=present
|
||||
with_items:
|
||||
- clamav
|
||||
- clamav-data
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# install pkg
|
||||
---
|
||||
- name: Install collectd
|
||||
package: name=collectd state=present
|
||||
ansible.builtin.package: name=collectd state=present
|
||||
tags:
|
||||
- collectd
|
||||
when: ansible_distribution_major_version|int <= 7 and ansible_distribution == 'RedHat'
|
||||
|
@ -64,7 +64,7 @@
|
|||
|
||||
# apache - localhost only - pretty much any apache server
|
||||
- name: Install collectd-apache (yum)
|
||||
package: state=present name=collectd-apache
|
||||
ansible.builtin.package: state=present name=collectd-apache
|
||||
tags:
|
||||
- collectd
|
||||
notify:
|
||||
|
@ -96,7 +96,7 @@
|
|||
when: collectd_apache
|
||||
|
||||
- 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:
|
||||
- collectd
|
||||
when: collectd_apache is defined and ansible_distribution_major_version|int <= 7 and ansible_distribution == 'RedHat'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
|
||||
- name: Install collectd-bind
|
||||
package: name=collectd-bind state=present
|
||||
ansible.builtin.package: name=collectd-bind state=present
|
||||
tags:
|
||||
- packages
|
||||
- collectd
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
|
||||
- name: Install python-retask
|
||||
package: name=python-retask state=present
|
||||
ansible.builtin.package: name=python-retask state=present
|
||||
tags:
|
||||
- collectd
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install collectd-rabbitmq
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name: python3-collectd-rabbitmq-monitoring
|
||||
tags:
|
||||
|
@ -8,7 +8,7 @@
|
|||
- collectd
|
||||
|
||||
- name: Install collectd-python
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name: collectd-python
|
||||
tags:
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
# install pkg
|
||||
- name: Install collectd server packages (rhel 7)
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- collectd-rrdtool
|
||||
- collectd-web
|
||||
|
@ -16,7 +16,7 @@
|
|||
when: ansible_distribution_major_version|int == 7
|
||||
|
||||
- name: Install collectd server packages (rhel 8)
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- collectd-rrdtool
|
||||
- collectd-web
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
tasks:
|
||||
- name: install guestfish & friends
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: "{{ packages }}"
|
||||
vars:
|
||||
packages:
|
||||
|
@ -42,7 +42,7 @@
|
|||
name: praiskup/helpers
|
||||
|
||||
- name: install helpers
|
||||
package: name=praiskup-helpers state=present
|
||||
ansible.builtin.package: name=praiskup-helpers state=present
|
||||
register: helpers_installed
|
||||
|
||||
- name: remount with larger TMP
|
||||
|
@ -106,7 +106,7 @@
|
|||
when: not key_stat.stat.exists
|
||||
|
||||
# - name: install composer packages
|
||||
# package: name={{ packages }}
|
||||
# ansible.builtin.package: name={{ packages }}
|
||||
# vars:
|
||||
# - packages:
|
||||
# - osbuild-composer
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
tags: always
|
||||
|
||||
- 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:
|
||||
- preparing_image
|
||||
|
||||
|
@ -98,7 +98,7 @@
|
|||
when: preparing_image
|
||||
|
||||
- name: install subscription-manager
|
||||
package: name=subscription-manager state=present
|
||||
ansible.builtin.package: name=subscription-manager state=present
|
||||
when:
|
||||
- preparing_image
|
||||
|
||||
|
@ -210,7 +210,7 @@
|
|||
shell: /usr/bin/copr-update-builder
|
||||
|
||||
# - 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
|
||||
# vars:
|
||||
# packages:
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
tags: mdadm
|
||||
|
||||
- name: Install LVM and RAID utilities
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- lvm2
|
||||
- mdadm
|
||||
|
|
|
@ -198,7 +198,7 @@
|
|||
- images_s390x
|
||||
|
||||
- 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
|
||||
ansible.builtin.copy:
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
# - config
|
||||
|
||||
- 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'
|
||||
|
||||
- name: Copy .forward file
|
||||
|
@ -43,7 +43,7 @@
|
|||
notify: restart crond
|
||||
|
||||
- name: Install base copr packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- acl # useful for ansible acl module
|
||||
- bash-completion
|
||||
|
@ -57,7 +57,7 @@
|
|||
packages
|
||||
|
||||
- name: Install rsyslog-logrotate
|
||||
package: name=rsyslog-logrotate state=present
|
||||
ansible.builtin.package: name=rsyslog-logrotate state=present
|
||||
when: ansible_distribution == 'Fedora'
|
||||
|
||||
- name: Configure anacrond to not send mails to root user
|
||||
|
@ -75,7 +75,7 @@
|
|||
when: ansible_distribution == 'Fedora'
|
||||
|
||||
- name: Install copr-selinux
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: latest
|
||||
name: copr-selinux
|
||||
tags:
|
||||
|
@ -140,11 +140,11 @@
|
|||
|
||||
# https://github.com/fedora-copr/copr/issues/3439
|
||||
- name: Install iptables-nft
|
||||
package: name=iptables-nft state=present
|
||||
ansible.builtin.package: name=iptables-nft state=present
|
||||
register: iptables
|
||||
|
||||
- name: Remove iptables-legacy
|
||||
package: name=iptables-legacy state=absent
|
||||
ansible.builtin.package: name=iptables-legacy state=absent
|
||||
|
||||
- name: Restart iptables
|
||||
service: name=iptables state=restarted
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
- certbot
|
||||
|
||||
- name: Install certbot package
|
||||
package: name=certbot state=present
|
||||
ansible.builtin.package: name=certbot state=present
|
||||
tags:
|
||||
- certbot
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install postresql
|
||||
package: state=present pkg={{ item }}
|
||||
ansible.builtin.package: state=present pkg={{ item }}
|
||||
with_items:
|
||||
- "postgresql-server"
|
||||
- "postgresql-contrib"
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
tags: profile_scripts
|
||||
|
||||
- name: Install libvirt packages
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- qemu-kvm
|
||||
- libguestfs-tools-c
|
||||
|
@ -177,7 +177,7 @@
|
|||
- packages
|
||||
|
||||
- name: Install the latest helper package
|
||||
package: name=praiskup-helpers state=latest
|
||||
ansible.builtin.package: name=praiskup-helpers state=latest
|
||||
tags:
|
||||
- update_helpers
|
||||
- packages
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install dhcp server package
|
||||
package: state=present name=dhcp-server
|
||||
ansible.builtin.package: state=present name=dhcp-server
|
||||
tags:
|
||||
- packages
|
||||
- base
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Configuration for the pagure webapp
|
||||
|
||||
- name: Install needed packages
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- pagure
|
||||
- pagure-ev
|
||||
|
@ -20,7 +20,7 @@
|
|||
- packages
|
||||
|
||||
- name: Install needed packages
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- pagure-theme-srcfpo
|
||||
tags:
|
||||
|
@ -313,7 +313,7 @@
|
|||
# setup fedora-messaging
|
||||
|
||||
- name: Install fedora-messaging as a dependency
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- fedora-messaging
|
||||
tags:
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
state=enabled
|
||||
|
||||
- name: Install the needed packages
|
||||
package: name={{item}} state=present
|
||||
ansible.builtin.package: name={{item}} state=present
|
||||
with_items:
|
||||
- git
|
||||
- httpd
|
||||
|
@ -121,7 +121,7 @@
|
|||
# -- Dist Git --------------------------------------------
|
||||
# This is the Git setup itself: group, root directory, scripts,...
|
||||
- name: Install dist-git
|
||||
package: name={{item}} state=present
|
||||
ansible.builtin.package: name={{item}} state=present
|
||||
with_items:
|
||||
- dist-git
|
||||
- dist-git-selinux
|
||||
|
@ -343,7 +343,7 @@
|
|||
- selinux
|
||||
|
||||
- name: Setup grokmirror for repos
|
||||
package: name=python3-grokmirror state=installed
|
||||
ansible.builtin.package: name=python3-grokmirror state=installed
|
||||
tags:
|
||||
- grokmirror
|
||||
- pkgs
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install packages
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- bind
|
||||
- unzip
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install needed packages
|
||||
package: name={{ item }} state=present update_cache=yes
|
||||
ansible.builtin.package: name={{ item }} state=present update_cache=yes
|
||||
with_items:
|
||||
- bzip2
|
||||
- mod_ssl
|
||||
|
@ -90,7 +90,7 @@
|
|||
- reload httpd
|
||||
|
||||
- name: Install haveged for entropy
|
||||
package: name=haveged state=present
|
||||
ansible.builtin.package: name=haveged state=present
|
||||
tags:
|
||||
- httpd
|
||||
- httpd/proxy
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
## Install packages
|
||||
- name: Install needed packages
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- python-fedora
|
||||
- python-jinja2
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
|
||||
- name: Install fasjson-client
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- fasjson-client
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# This is the base set of files needed for fedmsg
|
||||
|
||||
- name: Install needed packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- libsemanage-python
|
||||
|
@ -14,7 +14,7 @@
|
|||
when: ansible_distribution_major_version|int < 8
|
||||
|
||||
- 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"
|
||||
tags: fedmsg/base
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
|||
tags: fedmsg/base
|
||||
|
||||
- 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"
|
||||
tags: fedmsg/base
|
||||
|
||||
|
@ -146,7 +146,7 @@
|
|||
- restart fedmsg-relay
|
||||
|
||||
- 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
|
||||
tags:
|
||||
- fedmsg_loopback
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
|
||||
- name: Install needed packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- 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')
|
||||
|
||||
- name: Install needed packages in a python 3 manner
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- python3-fedmsg
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install fedmsg-gateway
|
||||
package: name=fedmsg-gateway state=present
|
||||
ansible.builtin.package: name=fedmsg-gateway state=present
|
||||
tags:
|
||||
- packages
|
||||
- fedmsg/gateway
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
# Setup a fedmsg-hub
|
||||
|
||||
- name: Install needed packages - py2
|
||||
package: name=fedmsg-hub state=present
|
||||
ansible.builtin.package: name=fedmsg-hub state=present
|
||||
tags:
|
||||
- packages
|
||||
when: "'python34_fedmsg' not in group_names"
|
||||
|
||||
- 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"
|
||||
tags: fedmsg/base
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install package for fedmsg-irc
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- python2-fedmsg-meta-fedora-infrastructure
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
---
|
||||
- name: Install fedmsg-relay (yum)
|
||||
package: name=fedmsg-relay state=present
|
||||
ansible.builtin.package: name=fedmsg-relay state=present
|
||||
tags:
|
||||
- packages
|
||||
- fedmsg/relay
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
|
||||
- name: Install packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- po4a
|
||||
- git
|
||||
|
@ -19,7 +19,7 @@
|
|||
when: ansible_distribution_major_version|int < 9
|
||||
|
||||
- name: Install packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- po4a
|
||||
- git
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install needed packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- babel
|
||||
|
@ -15,7 +15,7 @@
|
|||
when: ansible_distribution_major_version|int < 9
|
||||
|
||||
- name: Install needed packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- babel
|
||||
|
@ -30,7 +30,7 @@
|
|||
when: ansible_distribution_major_version|int >= 9
|
||||
|
||||
- name: Install extra packages for staging
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- python-dogpile-cache
|
||||
|
@ -40,7 +40,7 @@
|
|||
when: ansible_distribution_major_version|int < 9
|
||||
|
||||
- name: Install extra packages for staging
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- python3-dogpile-cache
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install needed packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- s3cmd
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# For info, check roles/httpd/reverseproxy/templates/reversepassproxy.src.conf
|
||||
---
|
||||
- name: Install mod_auth_gssapi
|
||||
package: name=mod_auth_gssapi
|
||||
ansible.builtin.package: name=mod_auth_gssapi
|
||||
state=present
|
||||
notify:
|
||||
- reload proxyhttpd
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- babel
|
||||
- git
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
|
||||
---
|
||||
- name: Install required packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
# 'relval' itself is needed as we call it directly for size
|
||||
# checking
|
||||
name: ['python3-fedfind', 'fedora-messaging', 'python3-pip', 'python3-pip', 'python3-openqa_client']
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install packages needed
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- squid
|
||||
- gettext
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Tasklist for setting up freemedia cgi.
|
||||
|
||||
- name: Install needed php packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- php
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
# install necessary packages
|
||||
- name: Install python-paste-deploy geolite2-city python2-iso3166 python2-geoip2
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- python-paste-deploy
|
||||
- geolite2-city
|
||||
|
@ -15,7 +15,7 @@
|
|||
when: ansible_distribution_major_version|int < 8 and ansible_distribution == 'RedHat'
|
||||
|
||||
- name: Install python3-paste-deploy geolite2-city python3-iso3166 python3-geoip2
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- python3-paste-deploy
|
||||
- geolite2-city
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
---
|
||||
# install python-geoIP
|
||||
- name: Install python-GeoIP
|
||||
package: name=python-GeoIP state=present
|
||||
ansible.builtin.package: name=python-GeoIP state=present
|
||||
tags:
|
||||
- packages
|
||||
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)
|
||||
package: name=python3-geoip2 state=present
|
||||
ansible.builtin.package: name=python3-geoip2 state=present
|
||||
tags:
|
||||
- packages
|
||||
when: (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int >= 8)
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# jobs, triggered by fedmsg, etc...
|
||||
|
||||
- name: Install the needed packages
|
||||
package: name=git state=present
|
||||
ansible.builtin.package: name=git state=present
|
||||
tags:
|
||||
- git
|
||||
- git/checks
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# tasklist for setting up git mail hooks
|
||||
|
||||
- name: Install needed packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- git
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# tasklist for setting up the Git checkout seed
|
||||
|
||||
- name: Make sure packages needed are installed
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- tar
|
||||
- python2
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# tasklist for setting up a git server (git:// access)
|
||||
|
||||
- name: Install the git-daemon package
|
||||
package: name=git-daemon state=present
|
||||
ansible.builtin.package: name=git-daemon state=present
|
||||
tags: git/server
|
||||
|
||||
# If NOT using xinetd
|
||||
|
@ -34,7 +34,7 @@
|
|||
|
||||
# If using 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'
|
||||
tags: git/server
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Configuration for the tahrir webapp
|
||||
|
||||
- name: Install needed packages
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- github2fedmsg
|
||||
- python-psycopg2
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# tasklist for setting up a basic gitolite
|
||||
|
||||
- name: Install the needed packages
|
||||
package: name={{item}} state=present
|
||||
ansible.builtin.package: name={{item}} state=present
|
||||
with_items:
|
||||
- gitolite3
|
||||
- perl-Sys-Syslog
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install python packages
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- createrepo_c
|
||||
- libmodulemd
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
|
||||
- name: Install grokmirror
|
||||
package: name=python3-grokmirror state=installed
|
||||
ansible.builtin.package: name=python3-grokmirror state=installed
|
||||
tags:
|
||||
- grokmirror-mirror
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Tasks to set up haproxy
|
||||
|
||||
- name: Install needed packages
|
||||
package: name={{ item }} state=present
|
||||
ansible.builtin.package: name={{ item }} state=present
|
||||
with_items:
|
||||
- haproxy
|
||||
- socat
|
||||
|
@ -49,7 +49,7 @@
|
|||
- haproxy
|
||||
|
||||
- name: Install libsemanage
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- 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')
|
||||
|
||||
- name: Install libsemanage in a python3 manner
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- python3-libsemanage
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install mod_ssl
|
||||
package: name=mod_ssl state=present
|
||||
ansible.builtin.package: name=mod_ssl state=present
|
||||
notify:
|
||||
- reload proxyhttpd
|
||||
tags:
|
||||
|
@ -21,7 +21,7 @@
|
|||
- httpd/certificate
|
||||
|
||||
- name: Install haveged for entropy
|
||||
package: name=haveged state=present
|
||||
ansible.builtin.package: name=haveged state=present
|
||||
tags:
|
||||
- httpd
|
||||
- httpd/proxy
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
- httpd/proxy
|
||||
|
||||
- name: Install libsemanage
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- 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')
|
||||
|
||||
- name: Install libsemanage in a python3 manner
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- python3-libsemanage
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install IPA client packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- freeipa-client
|
||||
state: present
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Configuration for the ipsilon webapp
|
||||
|
||||
- name: Install needed packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
update_cache: yes
|
||||
name:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
#
|
||||
- name: Install packages needed for iscsi_client (yum)
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- iscsi-initiator-utils
|
||||
|
@ -14,7 +14,7 @@
|
|||
when: ansible_distribution_major_version|int < 8 and ansible_distribution == "RedHat"
|
||||
|
||||
- name: Install packages needed for iscsi_client (dnf)
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- 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
|
||||
|
||||
- name: Install packages needed for iscsi_client (dnf)
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- iscsi-initiator-utils
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
---
|
||||
- name: Install keepalived package
|
||||
package: state=present name=keepalived
|
||||
ansible.builtin.package: state=present name=keepalived
|
||||
tags:
|
||||
- packages
|
||||
- keepalived
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Configuration for the kerneltest webapp
|
||||
|
||||
- name: Install needed packages
|
||||
package: name={{ item }} state=present update_cache=yes
|
||||
ansible.builtin.package: name={{ item }} state=present update_cache=yes
|
||||
with_items:
|
||||
- kerneltest
|
||||
- python-psycopg2
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
- koji_builder
|
||||
|
||||
- name: Install packages needed by koji_builders
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- koji-builder
|
||||
|
@ -103,7 +103,7 @@
|
|||
#
|
||||
|
||||
- name: Remove koji builder rpmautospec plugin
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- koji-builder-plugin-rpmautospec
|
||||
- python3-rpmautospec
|
||||
|
@ -128,7 +128,7 @@
|
|||
- rpmautospec
|
||||
|
||||
- name: Install Flatpak builder plugin
|
||||
package: name=koji-flatpak-builder state=present
|
||||
ansible.builtin.package: name=koji-flatpak-builder state=present
|
||||
tags:
|
||||
- koji_builder
|
||||
|
||||
|
@ -142,7 +142,7 @@
|
|||
- koji_builder
|
||||
|
||||
- name: Install arm UEFI firmware package (aarch64 only)
|
||||
package: name=edk2-arm state=present
|
||||
ansible.builtin.package: name=edk2-arm state=present
|
||||
tags:
|
||||
- koji_builder
|
||||
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
|
||||
# version of nosync installed to fully take advantage of nosync
|
||||
- name: Special pkgs for the x86_64 builders
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- nosync.i686
|
||||
|
@ -297,7 +297,7 @@
|
|||
|
||||
# Before, the builders had the "apache" role. This is a temporary play to remove the httpd daemon everywhere
|
||||
- name: Uninstall httpd
|
||||
package: name=httpd
|
||||
ansible.builtin.package: name=httpd
|
||||
state=absent
|
||||
tags:
|
||||
- koji_builder
|
||||
|
@ -362,7 +362,7 @@
|
|||
# Add rngd so that virtual maachines have enough randomness to boot in our lifetimes
|
||||
#
|
||||
- name: Install rng-tools for entropy
|
||||
package: name=rng-tools state=present
|
||||
ansible.builtin.package: name=rng-tools state=present
|
||||
tags:
|
||||
- koji_builder
|
||||
- koji_builder/rngd
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue