---
- hosts: kati
  sudo: yes
  vars_files:
    - "vars/passwords.yml"
  roles:
    - wildfly

  tasks:
    - name: copy stone font debian package
      copy: src=ttf-stonesans_0.1-1_all.deb dest=/tmp

    - name: install stone font debian package
      apt: deb=/tmp/ttf-stonesans_0.1-1_all.deb

    - name: install other fonts
      apt: name={{ item }}
      with_items:
        - ttf-mscorefonts-installer
        - ttf-tiresias

    - name: configure the datasource manually
      debug: msg="Configure the datasources"



---
- hosts: kati
  sudo: yes
  vars_files:
    - "vars/passwords.yml"
  roles:
    - wildfly

  tasks:
    - name: copy stone font debian package
      copy: src=ttf-stonesans_0.1-1_all.deb dest=/tmp

    - name: install stone font debian package
      apt: deb=/tmp/ttf-stonesans_0.1-1_all.deb

    - name: install other fonts
      apt: name={{ item }}
      with_items:
        - ttf-mscorefonts-installer
        - ttf-tiresias

    - name: configure the datasource manually
      debug: msg="Configure the datasources"

    - name: deploy war manually using the admin web interface
      debug: msg="deploy the war manually using the admin web interface"

    # - name: copy war
    #   copy: src=catalog.war dest=/tmp/catalog.war

    # - name: deploy application
    #   jboss: src=/tmp/catalog.war
    #          deployment=catalog.war
    #          deploy_path=/usr/local/wildfly/standalone/deployments


Add a notification that war needs to be deployed manually
Add a notification that war needs to be deployed manually
