copr: squash_actions is deprecated

This commit is contained in:
Miroslav Suchý 2019-04-02 10:27:12 +02:00
parent 16c80501f5
commit 44650c688e
5 changed files with 41 additions and 36 deletions

View file

@ -3,9 +3,9 @@
# Particularly it follows "(Option B) The Hard Way" # Particularly it follows "(Option B) The Hard Way"
- name: Install required packages - name: Install required packages
dnf: state=latest name={{ item }} dnf:
with_items: state: latest
- certbot name: certbot
- name: Create The Web Root - name: Create The Web Root
file: file:

View file

@ -10,18 +10,19 @@
- user: name=copr group=copr uid=989 - user: name=copr group=copr uid=989
- name: install copr-backend and copr-selinux - name: install copr-backend and copr-selinux
dnf: state=latest name={{ item }} dnf:
with_items: state: latest
- copr-backend name: copr-backend
- name: add additional packages for copr-backend - name: add additional packages for copr-backend
dnf: state=present name={{ item }} dnf:
with_items: state: present
- python2-glanceclient name:
- python2-neutronclient - python2-glanceclient
- python2-keystoneclient - python2-neutronclient
- php-cli - python2-keystoneclient
- cronolog - php-cli
- cronolog
# disable this in favor of excluding it in /etc/dnf/dnf.conf. # disable this in favor of excluding it in /etc/dnf/dnf.conf.
# https://github.com/ansible/ansible/issues/33187 # https://github.com/ansible/ansible/issues/33187

View file

@ -31,21 +31,25 @@
- name: install copr-selinux - name: install copr-selinux
dnf: state=latest pkg=copr-selinux dnf: state=latest pkg=copr-selinux
tags:
- packages
- name: install common copr packages - name: install common copr packages
dnf: state=present pkg={{ item }} dnf:
with_items: state: present
- "system-config-firewall-base" pkg:
- "nrpe" - "system-config-firewall-base"
- "nrpe"
tags: tags:
- packages - packages
- name: install dev helper packages - name: install dev helper packages
dnf: state=present pkg={{ item }} dnf:
with_items: state: present
- "bash-completion" pkg:
- "screen" - "bash-completion"
- "tmux" - "screen"
- "tmux"
tags: tags:
- packages - packages

View file

@ -15,22 +15,24 @@
copy: src=cron.hourly/copr-frontend dest=/etc/cron.hourly/ copy: src=cron.hourly/copr-frontend dest=/etc/cron.hourly/
- name: install copr-frontend and copr-selinux - name: install copr-frontend and copr-selinux
dnf: state=latest name={{ item }} dnf:
with_items: state: latest
- copr-frontend name:
- copr-selinux - copr-frontend
- copr-selinux
tags: tags:
- packages - packages
# we install python-alembic because https://bugzilla.redhat.com/show_bug.cgi?id=1536058 # we install python-alembic because https://bugzilla.redhat.com/show_bug.cgi?id=1536058
- name: install additional pkgs for copr-frontend - name: install additional pkgs for copr-frontend
dnf: state=present pkg={{ item }} dnf:
with_items: state: present
- "bash-completion" pkg:
- "mod_ssl" - "bash-completion"
- redis - "mod_ssl"
- pxz - redis
- python3-alembic - pxz
- python3-alembic
tags: tags:
- packages - packages

View file

@ -11,9 +11,7 @@
#when: devel #when: devel
- name: install copr-keygen - name: install copr-keygen
dnf: state=latest name={{ item }} dnf: state=latest name=copr-keygen
with_items:
- copr-keygen
notify: notify:
- restart haveged - restart haveged