From: Oleg Broytman Date: Fri, 26 Jul 2019 21:10:04 +0000 (+0300) Subject: Rename `add_apache_vhost` -> `apache-vhost` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=7a883f9218d533024a220b4712e46847ee953ac9;p=ansible.git Rename `add_apache_vhost` -> `apache-vhost` --- diff --git a/playbooks/debian-add-apache-vhost b/playbooks/debian-add-apache-vhost index cffad87..59eb749 100755 --- a/playbooks/debian-add-apache-vhost +++ b/playbooks/debian-add-apache-vhost @@ -10,4 +10,4 @@ shift cd "`dirname \"$0\"`" && ANSIBLE_ROLES_PATH=debian/roles \ - exec ./run-role add_apache_vhost "$@" -e virtual_host="$vhost" + exec ./run-role add-apache-vhost "$@" -e virtual_host="$vhost" diff --git a/playbooks/debian/roles/add_apache_vhost/README.txt b/playbooks/debian/roles/add-apache-vhost/README.txt similarity index 100% rename from playbooks/debian/roles/add_apache_vhost/README.txt rename to playbooks/debian/roles/add-apache-vhost/README.txt diff --git a/playbooks/debian/roles/add_apache_vhost/files/dehydrated b/playbooks/debian/roles/add-apache-vhost/files/dehydrated similarity index 100% rename from playbooks/debian/roles/add_apache_vhost/files/dehydrated rename to playbooks/debian/roles/add-apache-vhost/files/dehydrated diff --git a/playbooks/debian/roles/add_apache_vhost/handlers/main.yml b/playbooks/debian/roles/add-apache-vhost/handlers/main.yml similarity index 100% rename from playbooks/debian/roles/add_apache_vhost/handlers/main.yml rename to playbooks/debian/roles/add-apache-vhost/handlers/main.yml diff --git a/playbooks/debian/roles/add_apache_vhost/tasks/add_vhost.yml b/playbooks/debian/roles/add-apache-vhost/tasks/add-vhost.yml similarity index 100% rename from playbooks/debian/roles/add_apache_vhost/tasks/add_vhost.yml rename to playbooks/debian/roles/add-apache-vhost/tasks/add-vhost.yml diff --git a/playbooks/debian/roles/add_apache_vhost/tasks/dehydrated.yml b/playbooks/debian/roles/add-apache-vhost/tasks/dehydrated.yml similarity index 100% rename from playbooks/debian/roles/add_apache_vhost/tasks/dehydrated.yml rename to playbooks/debian/roles/add-apache-vhost/tasks/dehydrated.yml diff --git a/playbooks/debian/roles/add_apache_vhost/tasks/main.yml b/playbooks/debian/roles/add-apache-vhost/tasks/main.yml similarity index 90% rename from playbooks/debian/roles/add_apache_vhost/tasks/main.yml rename to playbooks/debian/roles/add-apache-vhost/tasks/main.yml index 8208d18..0133626 100644 --- a/playbooks/debian/roles/add_apache_vhost/tasks/main.yml +++ b/playbooks/debian/roles/add-apache-vhost/tasks/main.yml @@ -5,7 +5,7 @@ changed_when: vhost.rc != 0 - name: Add vhost - import_tasks: add_vhost.yml + import_tasks: add-vhost.yml when: vhost.rc != 0 - name: Run dehydrated for the vhost diff --git a/playbooks/debian/roles/add_apache_vhost/templates/config b/playbooks/debian/roles/add-apache-vhost/templates/config similarity index 100% rename from playbooks/debian/roles/add_apache_vhost/templates/config rename to playbooks/debian/roles/add-apache-vhost/templates/config diff --git a/playbooks/debian/roles/add_apache_vhost/templates/dehydrated b/playbooks/debian/roles/add-apache-vhost/templates/dehydrated similarity index 100% rename from playbooks/debian/roles/add_apache_vhost/templates/dehydrated rename to playbooks/debian/roles/add-apache-vhost/templates/dehydrated diff --git a/playbooks/debian/roles/add_apache_vhost/templates/domains.txt b/playbooks/debian/roles/add-apache-vhost/templates/domains.txt similarity index 100% rename from playbooks/debian/roles/add_apache_vhost/templates/domains.txt rename to playbooks/debian/roles/add-apache-vhost/templates/domains.txt diff --git a/playbooks/debian/roles/add_apache_vhost/templates/vhost.conf b/playbooks/debian/roles/add-apache-vhost/templates/vhost.conf similarity index 100% rename from playbooks/debian/roles/add_apache_vhost/templates/vhost.conf rename to playbooks/debian/roles/add-apache-vhost/templates/vhost.conf