Skip to content
Snippets Groups Projects
Verified Commit 3d80f716 authored by me5na7qbjqbrp's avatar me5na7qbjqbrp
Browse files

Fix yaml syntax

parent 37406ff7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
---
- 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'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment