diff --git a/playbooks/groups/mirrorlist.yml b/playbooks/groups/mirrorlist.yml index 84866f5505..54046cfd46 100644 --- a/playbooks/groups/mirrorlist.yml +++ b/playbooks/groups/mirrorlist.yml @@ -32,7 +32,6 @@ tasks: # this is how you include other task lists - - include: $tasks/common_scripts.yml - include: $tasks/hosts.yml - include: $tasks/yumrepos.yml - include: $tasks/base.yml diff --git a/tasks/base.yml b/tasks/base.yml index db3e869f45..e835f730ed 100644 --- a/tasks/base.yml +++ b/tasks/base.yml @@ -149,3 +149,13 @@ - postfix - config +# +# This task installs some common scripts to /usr/local/bin +# scripts are under $files/common-scripts +# + +- name: Install common scripts + action: copy src=$item dest=/usr/local/bin/ owner=root group=root mode=0755 + with_fileglob: $files/common-scripts/* + tags: + - config diff --git a/tasks/common_scripts.yml b/tasks/common_scripts.yml index a0574d9ca8..08251b8c81 100644 --- a/tasks/common_scripts.yml +++ b/tasks/common_scripts.yml @@ -1,4 +1,4 @@ ---- + # # This task installs some common scripts to /usr/local/bin # scripts are under $files/common-scripts