From 3017bc5ce01caf3636632519f77cfdba8c993968 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Sun, 15 May 2016 22:31:57 +0200 Subject: [PATCH] tasks/main.yml: convert comments into names Signed-off-by: Nathan Cutler --- roles/testnode/tasks/main.yml | 47 ++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/roles/testnode/tasks/main.yml b/roles/testnode/tasks/main.yml index a72a453..d0dc211 100644 --- a/roles/testnode/tasks/main.yml +++ b/roles/testnode/tasks/main.yml @@ -27,48 +27,49 @@ tags: - zap -# partition drives, if any are requested -- include: drive_partitioning.yml +- name: partition drives, if any are requested + include: drive_partitioning.yml when: drive_to_partition is defined tags: - partition -# configure ssh -- include: ssh.yml +- name: configure ssh + include: ssh.yml tags: - ssh -# configure things specific to yum systems -- include: yum_systems.yml +- name: configure things specific to yum systems + include: yum_systems.yml when: ansible_pkg_mgr == "yum" -# configure things specific to apt systems -- include: apt_systems.yml +- name: configure things specific to apt systems + include: apt_systems.yml when: ansible_pkg_mgr == "apt" -# configure centos specific things -- include: setup-centos.yml +- name: configure centos specific things + include: setup-centos.yml when: ansible_distribution == "CentOS" -# configure red hat specific things -- include: setup-redhat.yml +- name: configure red hat specific things + include: setup-redhat.yml when: ansible_distribution == 'RedHat' -# configure fedora specific things -- include: setup-fedora.yml +- name: configure fedora specific things + include: setup-fedora.yml when: ansible_distribution == "Fedora" -# configure ubuntu specific things -- include: setup-ubuntu.yml +- name: configure ubuntu specific things + include: setup-ubuntu.yml when: ansible_distribution == "Ubuntu" -- include: setup-ubuntu-non-aarch64.yml +- name: configure ubuntu non-aarch64 specific things + include: setup-ubuntu-non-aarch64.yml when: ansible_distribution == "Ubuntu" and ansible_architecture != "aarch64" -# configure debian specific things -- include: setup-debian.yml +- name: configure debian specific things + include: setup-debian.yml when: ansible_distribution == "Debian" # Install and configure cpan and Amazon::S3 @@ -81,13 +82,13 @@ tags: - ntp-client -# configure pip to use our mirror -- include: pip.yml +- name: configure pip to use our mirror + include: pip.yml tags: - pip -# include resolv.conf setup -- include: resolvconf.yml +- name: include resolv.conf setup + include: resolvconf.yml tags: - resolvconf -- 2.39.5