Commit c7994cfe by Jocelyn Delalande

Transforme deprecateds "include:"

Now called "import_tasks".
parent 0c8bfb76
- name : Install borg via pip
include: pip_install.yml
import_tasks: pip_install.yml
when: borg_install_method == 'pip'
- name: Install borg via apt
include: apt_install.yml
import_tasks: apt_install.yml
when: (borg_install_method == 'apt') and (ansible_lsb.codename == 'jessie')
......@@ -9,7 +9,7 @@
ssh_key_file: "{{ borg_ynh_backup_ssh_key }}"
ssh_key_comment: "borg backup {{ borg_ynh_backup_user }}@{{ ansible_hostname }}"
- include: passphrase.yml
- import_tasks: passphrase.yml
tags: [borg.passphrase]
- name: Create scripts directory
......
......@@ -3,7 +3,7 @@
# npm…)
# Seems un-needed on strecth (but not tested)
- name: Install node from nodesource as ijs wont run with node 0.10x
include: nodesource.yml
import_tasks: nodesource.yml
- name: install apt dependencies
apt: pkg={{ item }} update_cache=yes cache_valid_time=1800
......@@ -90,4 +90,4 @@
service: name=jupyterhub state=started
- name: Install ijavascript notebook kernel
include: ijavascript.yml
import_tasks: ijavascript.yml
- include: cifs.yml
- import_tasks: cifs.yml
- name: Add mopidy APT repository
apt_repository: repo='deb http://apt.mopidy.com/ stable main contrib non-free' state=present
......
......@@ -5,7 +5,7 @@
- munin-node
- smartmontools
- include: custom-plugins.yml
- import_tasks: custom-plugins.yml
- name: Allow our munin-master(s)
blockinfile:
......
- name: Setup rsync backup client
include: setup.yml
import_tasks: setup.yml
when: not rsync_backup_client_disable
- name: Disable rsync backup client
include: disable.yml
import_tasks: disable.yml
when: rsync_backup_client_disable
......@@ -7,4 +7,4 @@
- Reload udev rules
- WARNING Unplug/replug your scanner to get right permissions
- include: scanbuttond.yml
\ No newline at end of file
- import_tasks: scanbuttond.yml
\ No newline at end of file
- include: tor.yml
- include: nginx.yml
- import_tasks: tor.yml
- import_tasks: nginx.yml
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment