From 5504fc39d9d3dd643d4dc9f2f9dc2ba1a03c3e69 Mon Sep 17 00:00:00 2001
From: Alexandre Iooss <erdnaxe@crans.org>
Date: Wed, 1 Apr 2020 15:10:36 +0200
Subject: [PATCH] Add ansible shebang

---
 base.yml          | 1 +
 clean_servers.yml | 1 +
 local_facts.yml   | 1 +
 monitoring.yml    | 1 +
 network.yml       | 1 +
 re2o-api.yml      | 1 +
 re2o.yml          | 1 +
 services_web.yml  | 0
 tests.yml         | 1 +
 upgrade.yml       | 1 +
 10 files changed, 9 insertions(+)
 mode change 100644 => 100755 base.yml
 mode change 100644 => 100755 clean_servers.yml
 mode change 100644 => 100755 local_facts.yml
 mode change 100644 => 100755 monitoring.yml
 mode change 100644 => 100755 network.yml
 mode change 100644 => 100755 re2o-api.yml
 mode change 100644 => 100755 re2o.yml
 mode change 100644 => 100755 services_web.yml
 mode change 100644 => 100755 tests.yml
 mode change 100644 => 100755 upgrade.yml

diff --git a/base.yml b/base.yml
old mode 100644
new mode 100755
index d2007046..6d5f7740
--- a/base.yml
+++ b/base.yml
@@ -1,3 +1,4 @@
+#!/usr/bin/env ansible-playbook
 ---
 # Common CRANS configuration for all servers
 - hosts: server
diff --git a/clean_servers.yml b/clean_servers.yml
old mode 100644
new mode 100755
index b0aa5cfe..699d3262
--- a/clean_servers.yml
+++ b/clean_servers.yml
@@ -1,3 +1,4 @@
+#!/usr/bin/env ansible-playbook
 ---
 # This is a special playbook to clean old stuff from BCFG2
 # it will disapear when BCFG2 will disapear
diff --git a/local_facts.yml b/local_facts.yml
old mode 100644
new mode 100755
index 64066560..6e3f8a23
--- a/local_facts.yml
+++ b/local_facts.yml
@@ -1,3 +1,4 @@
+#!/usr/bin/env ansible-playbook
 ---
 - hosts: otis.adm.crans.org
   roles:
diff --git a/monitoring.yml b/monitoring.yml
old mode 100644
new mode 100755
index bb4bbc01..e60b4f95
--- a/monitoring.yml
+++ b/monitoring.yml
@@ -1,3 +1,4 @@
+#!/usr/bin/env ansible-playbook
 ---
 # Deploy Prometheus
 - hosts: fyre.adm.crans.org
diff --git a/network.yml b/network.yml
old mode 100644
new mode 100755
index 83bdeb6a..e48257aa
--- a/network.yml
+++ b/network.yml
@@ -1,3 +1,4 @@
+#!/usr/bin/env ansible-playbook
 ---
 # Deploy tunnel
 - hosts: sputnik.adm.crans.org
diff --git a/re2o-api.yml b/re2o-api.yml
old mode 100644
new mode 100755
index 255e3436..0952348c
--- a/re2o-api.yml
+++ b/re2o-api.yml
@@ -1,3 +1,4 @@
+#!/usr/bin/env ansible-playbook
 ---
 # Deploy keepalived on odlyd
 - hosts: odlyd.adm.crans.org
diff --git a/re2o.yml b/re2o.yml
old mode 100644
new mode 100755
index 219375f0..576fc219
--- a/re2o.yml
+++ b/re2o.yml
@@ -1,3 +1,4 @@
+#!/usr/bin/env ansible-playbook
 ---
 # Deploy Re2o
 - hosts: otis.adm.crans.org
diff --git a/services_web.yml b/services_web.yml
old mode 100644
new mode 100755
diff --git a/tests.yml b/tests.yml
old mode 100644
new mode 100755
index 7afd5cd5..89318fe4
--- a/tests.yml
+++ b/tests.yml
@@ -1,3 +1,4 @@
+#!/usr/bin/env ansible-playbook
 ---
 # Document servers
 - hosts: voyager.adm.crans.org  # test only on voyager for now
diff --git a/upgrade.yml b/upgrade.yml
old mode 100644
new mode 100755
index e124ecfa..49cc415e
--- a/upgrade.yml
+++ b/upgrade.yml
@@ -1,3 +1,4 @@
+#!/usr/bin/env ansible-playbook
 ---
 # This is a special playbook to upgrade a server, be careful!
 - hosts: server,test_vm
-- 
GitLab