--- - name: Set up VPS hosts: oracle,vultr # gather_facts: true vars_files: - vars/secrets.yaml become: true tasks: # ---------------------------------------------------------------------------------------------------- - name: Install packages apt: name: - iputils-ping - cron - fzf - git - curl - zip - unzip - trash-cli state: latest install_recommends: false update_cache: true autoclean: true autoremove: true # ---------------------------------------------------------------------------------------------------- - name: Include roles include_role: name: "{{ item }}" loop: - disable-root - timezone - chrony - vps-sources-list - vps-ufw - ssh - fail2ban - unattended-upgrades - nfs-opnxng - docker - touch-hushlogin - set-vm-overcommit-memory #- docker-buildx - name: Include roles include_role: name: "{{ item }}" loop: - oracle-systemd-resolved - oracle-grub-opnxng - hostname when: - inventory_hostname in groups["oracle"]