Merge branch 'fix_ci' into 'master'
Clean up files to make yamllint happy See merge request aurore/ansible!7
This commit is contained in:
commit
b382e6b5c8
16 changed files with 20 additions and 21 deletions
|
@ -3,6 +3,7 @@
|
|||
- hosts: synapse.adm.auro.re
|
||||
vars:
|
||||
mxisd_version: 1.3.1
|
||||
synapse_rest_auth_url: https://raw.githubusercontent.com/kamax-matrix/matrix-synapse-rest-auth/master/rest_auth_provider.py
|
||||
roles:
|
||||
- debian-backports
|
||||
- matrix-synapse
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
apt:
|
||||
name: apt-listchanges
|
||||
state: present
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
|
||||
# Send email when there is something new
|
||||
- name: Configure apt-listchanges
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
apt:
|
||||
name: "{{ packages }}"
|
||||
state: present
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
vars:
|
||||
packages:
|
||||
- bash-completion # for bash users
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
apt:
|
||||
name: molly-guard
|
||||
state: present
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
|
||||
# Always ask for hostname
|
||||
- name: Configure molly-guard
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
command: npm run build
|
||||
args:
|
||||
chdir: /var/local/codimd/codimd
|
||||
become: yes
|
||||
become: true
|
||||
become_user: codimd
|
||||
|
||||
# Reload systemd daemons when a service file changes
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
with_items:
|
||||
- git
|
||||
- nodejs
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
# repo: https://github.com/hackmdio/codimd.git
|
||||
# dest: /var/local/codimd/codimd
|
||||
# version: 1.2.1
|
||||
# become: yes
|
||||
# become: true
|
||||
# become_user: codimd
|
||||
# notify: Build front-end for CodiMD
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
|||
command: bin/setup
|
||||
args:
|
||||
chdir: /var/local/codimd/codimd
|
||||
become: yes
|
||||
become: true
|
||||
become_user: codimd
|
||||
|
||||
# Connection to database
|
||||
|
@ -38,7 +38,7 @@
|
|||
command: node_modules/.bin/sequelize db:migrate
|
||||
args:
|
||||
chdir: /var/local/codimd/codimd
|
||||
become: yes
|
||||
become: true
|
||||
become_user: codimd
|
||||
|
||||
# Configure
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
- name: Install DokuWiki
|
||||
apt:
|
||||
name: dokuwiki
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
with_items:
|
||||
- build-essential
|
||||
- curl
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
with_items:
|
||||
- nslcd
|
||||
- libnss-ldapd
|
||||
|
@ -16,7 +16,7 @@
|
|||
# apt:
|
||||
# name: nscd
|
||||
# state: present
|
||||
# update_cache: yes
|
||||
# update_cache: true
|
||||
|
||||
# Configure /etc/nslcd.conf
|
||||
- name: Configure nslcd LDAP credentials
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/bin/sh
|
||||
# {{ ansible_managed }}
|
||||
echo "Pour changer votre shell,\nAllez sur l'intranet : {{intranet_url}}"
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
apt:
|
||||
name: slapd
|
||||
state: present
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
|
||||
# What is written after is really not a nice way to install a schema
|
||||
# because the LDAP is being flushed away always...
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
- name: Install apt-transport-https
|
||||
apt:
|
||||
name: apt-transport-https
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
|
||||
# Add the repository into source list
|
||||
- name: Configure riot repository
|
||||
|
@ -20,7 +20,7 @@
|
|||
- name: Install riot-web
|
||||
apt:
|
||||
name: riot-web
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
|
||||
# Install nginx
|
||||
- name: Install nginx
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
- name: Install matrix-synapse
|
||||
apt:
|
||||
name: matrix-synapse
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
default_release: stretch-backports
|
||||
|
||||
- name: Configure matrix-synapse
|
||||
|
@ -23,7 +23,7 @@
|
|||
|
||||
- name: Install rest auth provider
|
||||
get_url:
|
||||
url: https://raw.githubusercontent.com/kamax-matrix/matrix-synapse-rest-auth/master/rest_auth_provider.py
|
||||
url: "{{ synapse_rest_auth_url }}"
|
||||
dest: /usr/local/lib/python3.5/dist-packages/rest_auth_provider.py
|
||||
mode: 0755
|
||||
notify: Restart matrix-synapse service
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
- name: Install NGINX server
|
||||
apt:
|
||||
name: nginx
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
|
||||
# Install sites
|
||||
- name: Configure NGINX sites
|
||||
|
|
|
@ -7,6 +7,5 @@
|
|||
- name: Upgrade
|
||||
apt:
|
||||
upgrade: dist
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
cache_valid_time: 86400 # one day
|
||||
|
||||
|
|
Loading…
Reference in a new issue