Advertisement
Guest User

Untitled

a guest
Sep 13th, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. 53095
  2. goo.gl/5buX9K
  3. number user10
  4. Login: userXX
  5. Password: ansible-mk
  6. 34.240.113.102
  7. ansible-mk
  8. "msg": "34.249.81.199"
  9.  
  10. mkdir -p roles/nginx/templates
  11.  
  12. TASK [Show ip] ******************************************************************
  13. [WARNING]: when statements should not include jinja2 templating delimiters such
  14. as {{ }} or {% %}. Found: {{ (ec2_facts.tagged_instances | first) is defined }}
  15.  
  16.  
  17. 52.208.121.114
  18.  
  19. ansible all -m ping
  20.  
  21. iptables_allowed_tcp_ports: [22,80]
  22.  
  23. git commit -m "migrate app_demo to baseservice-app model"
  24.  
  25. s3cr3t_pA55w0rd
  26.  
  27. ansible-playbook playbooks/app_demo.yml --check --diff
  28.  
  29. - src: https://github.com/Stouts/Stouts.iptables.git
  30. version: 1.1.2
  31. - src: jdauphant.nginx
  32. - src: ANXS.postgresql
  33. - src: git+https://github.com/ChristopherDavenport/ansible-role-universal-tomcat
  34. version: f0fe23a3b1541cbc60cabe69afe401f3df07d5d3
  35.  
  36. git commit -a -m "add tomcat role and configure nginx as proxy"
  37.  
  38. - name: 'Load data into database'
  39. shell: psql -f {{item}} application && touch {{item}}.lock
  40. args:
  41. chdir: /var/lib/postgresql
  42. creates: "{{item}}.lock"
  43. become: yes
  44. become_user: postgres
  45. with_items:
  46. - petstore-schema.sql
  47. - petstore-data.sql
  48.  
  49. git commit -a -m "add database schema and data files loading for application"
  50.  
  51. ansible-vault edit environments/dev/group_vars/web
  52.  
  53. ansible all -m command -a 'sudo -i -u tomcat /opt/tomcat/bin/startup.sh'
  54. git commit -m "Add dependency resolving and zabbix-agent role to project"
  55.  
  56. "msg": "lbuser10-1402343275.eu-west-1.elb.amazonaws.com"
  57.  
  58. - hosts: web
  59. gather_facts: False
  60. become: True
  61. tasks:
  62. - name: Copy release to tomcat webapps directory
  63. get_url:
  64. url: "http://storage.express42.io/jpetstore%23%23{{jpetstore_version}}.war"
  65. dest: "{{tomcat_webapps_dir}}/jpetstore##{{jpetstore_version}}.war"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement