diff --git a/Vagrantfile b/Vagrantfile index 881fd24..f35bb0c 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -26,13 +26,11 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # within the machine from a port on the host machine. In the example below, # accessing "localhost:8080" will access port 80 on the guest machine. # config.vm.network "forwarded_port", guest: 80, host: 8080 - config.vm.network "forwarded_port", guest: 980, host: 9800 - config.vm.network "forwarded_port", guest: 3000, host: 3000 # Create a private network, which allows host-only access to the machine # using a specific IP. # config.vm.network "private_network", ip: "192.168.33.10" - config.vm.network "private_network", ip: "192.168.1.1" + config.vm.network "private_network", ip: "192.168.1.1", auto_config: false # Create a public network, which generally matched to bridged network. # Bridged networks make the machine appear as another physical device on diff --git a/roles/nethcfg/tasks/reconfig_srv.yml b/roles/nethcfg/tasks/reconfig_srv.yml index 42c47a2..f5bf43e 100644 --- a/roles/nethcfg/tasks/reconfig_srv.yml +++ b/roles/nethcfg/tasks/reconfig_srv.yml @@ -36,7 +36,7 @@ ignore_errors: true - name: Configurazione forza password - shell: /sbin/e-smith/db configuration setprop passwordstrength PassExpires no Users none + shell: /sbin/e-smith/db configuration setprop passwordstrength PassExpires no Users none Admin strong MaxPassAge 180 MinPassAge 0 PassExpires no PassWarning 7 sudo: yes when: chk_passstr|changed