--- - name: Queries package manager for terminal installation package: name: - xfce4-terminal register: pkg_result retries: 3 until: pkg_result is succeeded become: yes - name: Create xfce4 terminal config directory file: path: '.config/xfce4/terminal/' state: directory - name: Copy xfce4-terminal configuration file template: src: 'terminalrc.j2' dest: '.config/xfce4/terminal/terminalrc'