diff --git a/.ansible/roles/home_server/tasks/basics.yaml b/.ansible/roles/home_server/tasks/basics.yaml index 8bc6793..301381a 100644 --- a/.ansible/roles/home_server/tasks/basics.yaml +++ b/.ansible/roles/home_server/tasks/basics.yaml @@ -4,13 +4,5 @@ yum: name: "{{ item }}" state: latest - with_items: - - epel-release - - git - - lsof - - net-tools - - psmisc - - rsync - - telnet - - vim - become: true \ No newline at end of file + with_items: "{{ server_packages }}" + become: true diff --git a/.ansible/roles/home_server/vars/main.yaml b/.ansible/roles/home_server/vars/main.yaml new file mode 100644 index 0000000..ce88af9 --- /dev/null +++ b/.ansible/roles/home_server/vars/main.yaml @@ -0,0 +1,9 @@ +server_packages: + - epel-release + - git + - lsof + - net-tools + - psmisc + - rsync + - telnet + - vim