Fix yaml syntax
parent
37406ff774
commit
3d80f71646
4
base.yml
4
base.yml
|
@ -6,8 +6,8 @@
|
|||
- name: Register adm interface in adm_iface variable
|
||||
shell: set -o pipefail && grep adm /sys/class/net/*/ifalias | sed "s|/sys/class/net/||" | sed "s|/ifalias:.*||"
|
||||
register: adm_iface
|
||||
check_mode: no
|
||||
changed_when: True
|
||||
check_mode: false
|
||||
changed_when: true
|
||||
args:
|
||||
executable: /bin/bash
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
- hosts: server
|
||||
tasks:
|
||||
- shell: "grep {{ item }} /sys/class/net/*/ifalias | sed \"s|/sys/class/net/||\" | sed \"s|/ifalias:.*||\""
|
||||
check_mode: no
|
||||
check_mode: false
|
||||
register: ifaces
|
||||
loop:
|
||||
- srv
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
cert: /etc/letsencrypt/live/crans.org/fullchain.pem
|
||||
cert_key: /etc/letsencrypt/live/crans.org/privkey.pem
|
||||
trusted_cert: /etc/letsencrypt/live/crans.org/chain.pem
|
||||
|
||||
|
||||
redirect_dnames:
|
||||
- crans.eu
|
||||
- crans.fr
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- name: generate postmaps
|
||||
command: /usr/sbin/postmap {{ item }}
|
||||
loop:
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
- hosts: owncloud-srv.adm.crans.org
|
||||
become_user: www-data
|
||||
become: yes
|
||||
become: true
|
||||
vars:
|
||||
# Owncloud command line interface
|
||||
occ_bin: '/var/www/owncloud/occ'
|
||||
|
|
Loading…
Reference in New Issue