Project

General

Profile

Tâche #23529

Scénario #23434: Étudier le module Salt : win_lgpo (Local Policy on Windows)

Piloter les salt mignon depuis Scribe

Added by Gérald Schwartzmann about 3 years ago. Updated almost 3 years ago.

Status:
Fermé
Priority:
Normal
Start date:
04/03/2018
Due date:
% Done:

100%

Estimated time:
0.00 h
Spent time:
Remaining (hours):
0.0

History

#1 Updated by Gérald Schwartzmann about 3 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Gérald Schwartzmann about 3 years ago

  • Assigned To set to Gérald Schwartzmann

#3 Updated by Gérald Schwartzmann about 3 years ago

https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.win_system.html

root@scribe:~# salt '*' test.ping
PC-124784.ac-test.fr:
    True
root@scribe:~# salt 'PC-124784.ac-test.fr' system.get_computer_desc
PC-124784.ac-test.fr:
root@scribe:~# salt '*' system.get_computer_name
PC-124784.ac-test.fr:
    PC-125292
root@scribe:~# 
root@scribe:~# salt '*' system.get_domain_workgroup
PC-124784.ac-test.fr:
    ----------
    Workgroup:
        WORKGROUP
root@scribe:~#
root@scribe:~# salt '*' system.get_system_date
PC-124784.ac-test.fr:
    04/05/2018
root@scribe:~# salt '*' system.halt 5 True
PC-124784.ac-test.fr:
    True
root@scribe:~#

#4 Updated by Gérald Schwartzmann about 3 years ago

  • Estimated time set to 0.00 h
  • Remaining (hours) set to 0.0

#6 Updated by Gérald Schwartzmann about 3 years ago

  • Status changed from En cours to Résolu

#7 Updated by Joël Cuissinat almost 3 years ago

  • Status changed from Résolu to Fermé
  • % Done changed from 0 to 100

Also available in: Atom PDF