--- - hosts: all vars_files: ['vars-auth.yml'] tasks: - name: "install epel repo" # for htop etc. yum: name: epel-release state: present - name: "install tools" yum: name: [ vim-enhanced, htop, screen, bind-utils, nmap-ncat, net-tools ] state: present - name: "install ssh-key" authorized_key: user: thoto key: "{{ssh_key}}" state: present - hosts: htcondor pre_tasks: - name: "install htcondor repo" yum: name: https://research.cs.wisc.edu/htcondor/repo/8.9/htcondor-release-current.el7.noarch.rpm state: present tags: htcondor - name: "install htcondor software " yum: name: htcondor-ce state: present tags: htcondor - name: "remove minicondor configuration" yum: name: minicondor state: absent tags: htcondor - name: "setup singularity" import_tasks: "singularity.yml" tags: singularity roles: - name: "setup docker" role: docker tags: docker - name: "setup htcondor test environment in docker containers" role: docker-htcondor tags: - htcondor-containered - htcondor - hosts: slurm vars: container_privileged: True num_nodes: 3 roles: - name: "setup docker" role: docker tags: docker - name: "setup slurm test environment in docker containers" role: slurm vars: slurm_user: slurm # or root tags: slurm - hosts: cobald roles: - name: "setup docker" role: docker tags: docker - name: "install cobald" role: cobald vars: docker_network: slurm tags: cobald