Configuration of the commshub sim load balanced in the nginx http server ``` - name: Nginx installation become: true block: - name: ensure nginx is at the latest version apt: name: nginx state: latest - name: Create folders file: path: "/etc/nginx/{{ item }}" state: directory loop: - sites-available - sites-enabled - template: src: "{{ item }}" dest: /etc/nginx/sites-available/ loop: - templates/default - templates/www.pneumogen.net.conf - name: copy Directories become: true template: src: "{{ item }}" dest: "/etc/nginx/{{ item }}" remote_src: yes loop: - templates/sites-available - templates/sites-enabled # # owner: "{{USERID}}" # # group: "{{GROUPID}}" # mode: 0640 # with_fileglob: # - "{{NSTALL_PATH}}/*" # - name: start nginx # service: # name: nginx # state: started # become: yes ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up