]> git.phdru.name Git - ansible.git/commitdiff
Rename playbooks: debian-* -> debian/*
authorOleg Broytman <phd@phdru.name>
Thu, 29 Aug 2019 15:29:31 +0000 (18:29 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 29 Aug 2019 15:29:31 +0000 (18:29 +0300)
playbooks/debian/add-apache-vhost [moved from playbooks/debian-add-apache-vhost with 63% similarity]
playbooks/debian/add-dns-domain [moved from playbooks/debian-add-dns-domain with 65% similarity]
playbooks/debian/init-system.sh [moved from playbooks/debian-init-system.sh with 69% similarity]

similarity index 63%
rename from playbooks/debian-add-apache-vhost
rename to playbooks/debian/add-apache-vhost
index a492090f3c28fd231ddd409147a9c1708ca381e3..514c86b8159341db18cd5a767ad4ac66b5f0fbe8 100755 (executable)
@@ -10,5 +10,5 @@ shift
 
 cd "`dirname \"$0\"`" &&
 ANSIBLE_ROLES_PATH=debian/roles \
-   exec ./run-role add-apache-vhost "$@" \
-   -e virtual_host="$vhost" -e gather_facts=true
+   exec ../run-role add-apache-vhost "$@" \
+      -e virtual_host="$vhost" -e gather_facts=true
similarity index 65%
rename from playbooks/debian-add-dns-domain
rename to playbooks/debian/add-dns-domain
index 0e2222b3012a40a126c7e4d3adc16cb563f6377e..38c14b5c4e8c9047afad88f3497de5fcea834af0 100755 (executable)
@@ -10,5 +10,5 @@ shift
 
 cd "`dirname \"$0\"`" &&
 ANSIBLE_ROLES_PATH=debian/roles \
-   exec ./run-role add-dns-domain "$@" \
-   -e domain="$domain" -e gather_facts=true
+   exec ../run-role add-dns-domain "$@" \
+      -e domain="$domain" -e gather_facts=true
similarity index 69%
rename from playbooks/debian-init-system.sh
rename to playbooks/debian/init-system.sh
index b55955d8ca19249eaf65403c2fb6ad7cf8c5028e..2363c803ea412f30c6e0669ab37363b1eff5b5f6 100755 (executable)
@@ -12,6 +12,6 @@ cd "`dirname \"$0\"`" &&
 
 # Passwordless access isn't configured yet; use `ssh` connection sharing.
 # `sudo` isn't configured yet too; use `su` and ask for root password.
-ansible-playbook debian/init-system.yml "$@" -e hosts="$host" \
+ansible-playbook init-system.yml "$@" -e hosts="$host" \
    --become-method=su -K &&
-exec ansible-playbook debian/init-system2.yml "$@" -e hosts="$host"
+exec ansible-playbook init-system2.yml "$@" -e hosts="$host"