Ver a proveniência

Merge branch 'master' of github.com:10sr/dotfiles

pull/1/head
10sr há 10 anos
ascendente
cometimento
1037d5d191
3 ficheiros alterados com 13 adições e 2 eliminações
  1. +5
    -0
      ansible/debian_setup.yml
  2. +1
    -0
      ansible/hosts
  3. +7
    -2
      ansible/utilities.yml

+ 5
- 0
ansible/debian_setup.yml Ver ficheiro

@@ -0,0 +1,5 @@
---
- hosts: all
vars:
tasks:
- name: put interfaces file for fixed IP

+ 1
- 0
ansible/hosts Ver ficheiro

@@ -0,0 +1 @@
debian-vb ansible_ssh_host=192.168.2.103 ansible_ssh_user=yuk

ansible/ansible.yml → ansible/utilities.yml Ver ficheiro

@@ -3,11 +3,16 @@
vars:
packages: [rsync, git, htop]
tasks:
- name: install packages for pacman
pacman: pkg={{ item }} state=installed
with_items: packages
sudo: yes
when: ansible_pkg_mgr == "pacman"
- name: install packages
action: pacman pkg={{ item }} state=installed
apt: name={{ item }} state=present
with_items: packages
sudo: yes
when: ansible_os_family == "Archlinux"
when: ansible_pkg_mgr == "apt"
- name: install script colortable16
get_url: url=https://gist.github.com/10sr/6852317/raw/colortable16.sh dest={{ ansible_env.HOME }}/.local/bin/colortable16.sh mode=0755
- name: install script 256colors

Carregando…
Cancelar
Guardar