diff --git a/README.md b/README.md index 3acc89a..9e6030c 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,6 @@ ln -sf /usr/local/cbsd/share/autocompletion/zsh/_cbsd ~/.oh-my-zsh/completions/_ ansible-galaxy install gantsign.oh-my-zsh ansible-galaxy install gantsign.antigen ansible-galaxy install gantsign.antigen_bundles -ansible-playbook --ask-pass -b -K ./skel.yml +ansible-playbook --ask-pass -b -K --limit="host1,host2" ./skel.yml ``` diff --git a/initial.yml b/initial.yml new file mode 100644 index 0000000..c96cb48 --- /dev/null +++ b/initial.yml @@ -0,0 +1,60 @@ +- hosts: all + tasks: + - name: apt update + apt: update_cache=true + + - name: Install list of packages + apt: name=software-properties-common state=present update_cache=true + with_items: + - locales + - vim + - mdadm + - sudo + - ssh + - dpkg-dev + - linux-headers-generic + - linux-image-generic + - console-cyrillic + - tasksel + - man + - nload + - sysstat + - htop + - iotop + - build-essential + - tmux + - mtr-tiny + - screen + - zsh + - mc + - sudo + - git + - wget + - software-properties-common + - traceroute + - gawk + - aptitude + - fakeroot + - build-essential + - git + - libncurses5 + - libncurses5-dev + - libnewt-dev + - libnet-ip-perl + - libproc-daemon-perl + - libproc-pid-file-perl + - libswitch-perl + - libdbd-mysql + - libdbi-perl + - libdbd-mysql-perl + - dkms + - iptables-dev + - pkg-config + - cpufrequtils + - ipset + - iptables-persistent + - ethstats + - ethtool + - libelf-dev + - irqbalance + - curl diff --git a/skel.yml b/skel.yml index d345c07..a19dd62 100644 --- a/skel.yml +++ b/skel.yml @@ -1,4 +1,4 @@ -- hosts: smith +- hosts: all tasks: - name: apt update apt: update_cache=true @@ -37,7 +37,7 @@ # dest: /home/zaika/.oh-my-zsh/themes/powerlevel10k # become: no -- hosts: smith +- hosts: all roles: - role: gantsign.antigen antigen_version: '2.2.3' @@ -77,7 +77,7 @@ # - name: zsh-syntax-highlighting # `name` is required (any valid file name will do so long as it's unique for the bundles) # url: zsh-users/zsh-syntax-highlighting -- hosts: smith +- hosts: all tasks: - name: Clone Powerline zsh theme git: @@ -85,7 +85,7 @@ dest: /home/zaika/skel become: no -- hosts: smith +- hosts: all tasks: - name: Create symbolic link file: