Fix yaml syntax

certbot_on_virtu
Alexandre Iooss 2020-05-02 10:39:45 +02:00
parent 37406ff774
commit 3d80f71646
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
5 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,4 @@
---
- name: generate postmaps
command: /usr/sbin/postmap {{ item }}
loop:

View File

@ -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'