Advertisement
Guest User

sed

a guest
Oct 23rd, 2018
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.84 KB | None | 0 0
  1. sed -i 's/example\.com/ow2.org/g' /etc/lemonldap-ng/* /var/lib/lemonldap-ng/conf/lmConf-1.js /var/lib/lemonldap-ng/test/index.pl
  2.  
  3.  - replace:
  4.       path: "{{ item }}"
  5.       regexp: 'example.com'
  6.       replace: 'plf-sso.ppol.minint.fr'
  7.       backup: yes
  8.    with_items:
  9.     - /etc/lemonldap-ng/for_etc_hosts
  10.      - /etc/lemonldap-ng/handler-nginx.conf
  11.      - /etc/lemonldap-ng/lemonldap-ng.ini
  12.      - /etc/lemonldap-ng/manager-apache2.4.conf
  13.      - /etc/lemonldap-ng/manager-nginx.conf
  14.      - /etc/lemonldap-ng/nginx-lmlog.conf
  15.      - /etc/lemonldap-ng/nginx-lua-headers.conf
  16.      - /etc/lemonldap-ng/portal-apache2.4.conf
  17.      - /etc/lemonldap-ng/portal-nginx.conf
  18.      - /etc/lemonldap-ng/test-apache2.4.conf
  19.      - /etc/lemonldap-ng/test-nginx.conf
  20.      - /var/lib/lemonldap-ng/conf/lmConf-1.js
  21.      - /var/lib/lemonldap-ng/test/index.pl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement