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"
- name: Install required packages
dnf: state=latest name={{ item }}
with_items:
- certbot
dnf:
state: latest
name: certbot
- name: Create The Web Root
file:

View file

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

View file

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

View file

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

View file

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