- name: setup my laptop the way I like it hosts: sheelba.scrye.com user: root gather_facts: true vars_files: - /home/kevin/git/scrye-ansible/vars/global.yml - /home/kevin/git/scrye-ansible-private/vars.yml tasks: - name: correct package setup dnf: state=present name={{ item }} with_items: - ansible - calibre - claws-mail - claws-mail-plugins - dnssec-trigger - fedora-easy-karma - fedora-packager - firefox - gobby05 - gmpc - gnome-keyring - gnome-keyring-pam - gnome-shell-extension-alternate-tab - gnome-shell-extension-openweather - gnome-tweak-tool - gnupg2 - hexchat - htop - iftop - keepassx - libselinux-python - midori - mutt - mktorrent - nethack - pass - postfix - powertop - rdiff-backup - rfkill - rkhunter - rtorrent - sigul - tmux - tuned - tcpdump - uucp - zsh - name: setup koji repo copy: src={{ files }}/fedora-koji.repo dest=/etc/yum.repos.d/fedora-koji.repo - name: setup bluejeans repo copy: src={{ files }}/bluejeans.repo dest=/etc/yum.repos.d/bluejeans.repo - name: setup /etc/hosts copy: src={{ files }}/hosts dest=/etc/hosts # # uucp setup # - name: setup uucp call template: src={{ files }}/uucp/call dest=/etc/uucp/call - name: setup uucp passwd template: src={{ files }}/uucp/passwd dest=/etc/uucp/passwd - name: setup uucp port copy: src={{ files }}/uucp/port dest=/etc/uucp/port - name: setup uucp sys copy: src={{ files }}/uucp/sys dest=/etc/uucp/sys - name: enable/start uucp socket service: state=running enabled=true name=uucp.socket # # postfix setup # - name: setup postfix master.cf copy: src={{ files }}/master.cf dest=/etc/postfix/master.cf - name: setup postfix main.cf copy: src={{ files }}/main.cf dest=/etc/postfix/main.cf - name: enable/start postfix service: state=running enabled=true name=postfix