--- - name: install required binary packages apt: name: "{{ packages }}" update_cache: yes vars: packages: #- roundcube #- roundcube-plugins - php-horde-imp - php-horde-ingo - php-horde-kronolith - php-horde-turba # - name: Creating random des_key for Roundcube # shell: pwgen 24 # register: roundcube_random_des_key # - name: Deploying Roundcube configuration # template: # src: roundcube-config.inc.php.j2 # dest: /etc/roundcube/config.inc.php # owner: root # group: www-data # mode: 0640 # - name: Deploying Roundcube managesieve plugin configuration # copy: # src: roundcube-managesieve-config.inc.php # dest: /etc/roundcube/plugins/managesieve/config.inc.php # mode: 0640 # - name: Deploying Roundcube password plugin configuration # template: # src: roundcube-password-config.inc.php.j2 # dest: /etc/roundcube/plugins/password/config.inc.php # owner: root # group: www-data # mode: 0640 # - name: Copy ISPmail logo # copy: # src: ispmail-logo.png # dest: /var/lib/roundcube/ # - name: Copy Roundcube database config file # template: # src: roundcube-debian-db.php.j2 # dest: /etc/roundcube/debian-db.php # mode: 0640