Changeset - 13816868d19b
[Not reviewed]
0 1 1
Branko Majic (branko) - 3 years ago 2021-01-07 16:20:12
branko@majic.rs
MAR-160: Deploy web server on top of servers for testing maintenance mode connectivity.
2 files changed with 21 insertions and 0 deletions:
0 comments (0 inline, 0 general)
roles/common/molecule/default/files/ferm_http.conf
Show inline comments
 
new file 100644
 
domain (ip ip6) {
 
    table filter {
 
        chain INPUT {
 
            # HTTP
 
            proto tcp dport 80 ACCEPT;
 
        }
 
    }
 
}
roles/common/molecule/default/playbook.yml
Show inline comments
 
@@ -41,3 +41,16 @@
 
        - "pip_check_requirements_upgrades-py3/with_updates/requirements.txt"
 
        - "pip_check_requirements_upgrades-py3/without_updates/requirements.in"
 
        - "pip_check_requirements_upgrades-py3/without_updates/requirements.txt"
 

	
 
    - name: Install web server for testing connectivity
 
      apt:
 
        name: nginx
 
        state: present
 

	
 
    - name: Deploy firewall configuration file for the web server
 
      copy:
 
        src: ferm_http.conf
 
        dest: /etc/ferm/conf.d/99-http.conf
 
        owner: root
 
        group: root
 
        mode: 0640
0 comments (0 inline, 0 general)