Skip to content
Snippets Groups Projects
Select Git revision
  • 231fd9e6a361a8095f07f32ce8c42b69f9409f8f
  • master default protected
  • dev
  • v0.4.0
  • v0.3.0
  • v0.2.9
  • v0.2.8
  • v0.2.7
  • v0.2.6
  • v0.1.0
  • v0.2.5
  • v0.2.4
  • v0.2.3
  • v0.2.2
  • v0.2.1
  • v0.2.0
  • v0.1.2
17 results

docker_init.sh

Blame
  • Forked from LBMC / nextflow
    Source project has a limited visibility.
    ubuntu-shellinabox.yaml 654 B
    - hosts: all
      tasks:
    
      - name: Update the system
        apt:
          upgrade: dist
    
      - name: Install requirements
        apt:
          name: 
            - openssl
            - shellinabox
            - stress
          state: latest
    
      - name: Configure shell in a box 
        shell: sed -i 's|SHELLINABOX_PORT=4200|SHELLINABOX_PORT=443|' /etc/default/shellinabox
    
      - name: Configure network
        shell: iptables -t filter -A INPUT -p tcp --dport 443 -j ACCEPT && iptables -t filter -A OUTPUT -p tcp --dport 443 -j ACCEPT && iptables-save
    
      - name: Restart services
        systemd:
          name: "{{ item }}" 
          enabled: yes
          state: restarted
        loop:
          - shellinabox