github.com/wanliu/go-oauth2-server@v0.0.0-20180817021415-f928fa1580df/ansible/roles/web/tasks/config.yml (about) 1 --- 2 # These tasks are responsible for copying the latest dev/production code from 3 # the version control system. 4 5 # - name: Creates the nginx conf file 6 # template: 7 # src: jiejie.conf.j2 8 # dest: /etc/nginx/conf.d/jiejie.conf 9 # become: yes 10 11 # - name: Ensures upstream dir exists 12 # file: 13 # path: /etc/nginx/conf.d/upstream 14 # state: directory 15 # owner: root 16 # group: root 17 # become: yes 18 19 # - name: Creates the nginx upstream conf file 20 # template: 21 # src: upstream.conf.j2 22 # dest: /etc/nginx/conf.d/upstream/oauth2-server-upstream.conf 23 # become: yes 24 25 # - name: Creates the nginx oauth2-server conf file 26 # template: 27 # src: oauth2-server.conf.j2 28 # dest: /etc/nginx/conf.d/oauth2-server.conf 29 # become: yes