]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
dhcp-server: Add a packages tag so I can skip the task 659/head
authorDavid Galloway <dgallowa@redhat.com>
Thu, 2 Dec 2021 20:24:59 +0000 (15:24 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 2 Dec 2021 20:26:36 +0000 (15:26 -0500)
Takes forever on store01

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/dhcp-server/README.rst
roles/dhcp-server/tasks/main.yml

index a3f676275a03c7a1beb165daa0b895c18c74443c..5e9688f93b15f65c0829d5083c9c6fd7cd2d8427 100644 (file)
@@ -97,5 +97,13 @@ This role basically has two required and two optional variables:
 | ``dhcp_option_hostname: False``                                     | Should this host get ``option host-name "{{ ansible_host }}";`` defined in its host declaration?  Defaults to False.  Override in secrets repo per host/group.                                                                                                   |
 +---------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 
+Tags
+++++
+
+Available tags are listed below:
+
+packages
+    Run (or skip) package install/update tasks
+
 .. _docs: https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable
 .. _dhcpd: https://linux.die.net/man/8/dhcpd
index 9727165499ee236be47fb02893e87c0ab3a5ae35..ef384f1acc450c0756e6d3b88c23255a3601bdbd 100644 (file)
@@ -4,6 +4,7 @@
     name: dhcp
     state: latest
   register: dhcp_yum_transaction
+  tags: packages
 
 - name: Check for firewalld
   command: firewall-cmd --state